Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antoine-coulon/effect-introduction
/ types & classes
Types & classes
28 in github.com/antoine-coulon/effect-introduction
⨍
Functions
48
◇
Types & classes
28
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
Class
CreatedUser
src/01-explicitness.ts:527
Class
DecodeError
src/04-composability.ts:16
Interface
DependencyA
* 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
Interface
DependencyB
src/01-explicitness.ts:609
Interface
FeatureFlag
* 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
Class
FetchError
src/04-composability.ts:11
Class
NumberIsTooBigError
src/01-explicitness.ts:374
Class
NumberIsTooSmallError
src/01-explicitness.ts:378
Class
SomeError
* 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
Class
SomeOtherError
src/01-explicitness.ts:81
Interface
Todo
src/04-composability.ts:9
Interface
TodosRepository
src/04-composability.ts:21
Class
User
src/02-testing.ts:32
Interface
User
* 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
Class
UserAlreadyExistsError
* --------------------- * Explicit dependencies * --------------------- * * One thing that is often under-estimated is the importance of making th
src/01-explicitness.ts:523
Class
UserCreationError
src/02-testing.ts:34
Interface
UserRepository
src/02-testing.ts:36
Interface
UserRepository
src/01-explicitness.ts:529