MCPcopy Create free account

hub / github.com/antoine-coulon/effect-introduction / types & classes

Types & classes28 in github.com/antoine-coulon/effect-introduction

Class
src/02-testing.ts:32
Class
src/02-testing.ts:34
Class
src/04-composability.ts:11
Class
src/04-composability.ts:16
Class
src/01-explicitness.ts:75
Class
src/01-explicitness.ts:81
Class
src/01-explicitness.ts:374
Class
src/01-explicitness.ts:378
Class
src/01-explicitness.ts:523
Class
src/01-explicitness.ts:527
ClassCreatedUser
src/01-explicitness.ts:527
ClassDecodeError
src/04-composability.ts:16
InterfaceDependencyA
* Exactly in the same fashion as for errors, dependencies are propagated as a * typed union. We can see that in action by introducing an effect reque
src/01-explicitness.ts:603
InterfaceDependencyB
src/01-explicitness.ts:609
InterfaceFeatureFlag
* What's great about dependency injection with Effect is that it's completely * type-safe but also effectful. It means that we can provide effects bu
src/01-explicitness.ts:656
ClassFetchError
src/04-composability.ts:11
ClassNumberIsTooBigError
src/01-explicitness.ts:374
ClassNumberIsTooSmallError
src/01-explicitness.ts:378
ClassSomeError
* Another solution is dealing with errors the hard way. As you might know, JavaScript * errors are not typed, so we can't really know what kind of er
src/01-explicitness.ts:75
ClassSomeOtherError
src/01-explicitness.ts:81
InterfaceTodo
src/04-composability.ts:9
InterfaceTodosRepository
src/04-composability.ts:21
ClassUser
src/02-testing.ts:32
InterfaceUser
* 4. Can't depend on any contextual information. * * A Promise can't explicitely encode the fact of depending on some contextual * information. It
src/01-explicitness.ts:285
ClassUserAlreadyExistsError
* --------------------- * Explicit dependencies * --------------------- * * One thing that is often under-estimated is the importance of making th
src/01-explicitness.ts:523
ClassUserCreationError
src/02-testing.ts:34
InterfaceUserRepository
src/02-testing.ts:36
InterfaceUserRepository
src/01-explicitness.ts:529