Effect CommunityEC
Effect Community3y ago
4 replies
danielo515

documentation error: Executing Effects and Observing Results

"By calling Effect.runSync(runnable), we execute the effect and observe the result."
https://www.effect.website/docs/context-management/services#:~:text=By%20calling%20Effect.runSync(runnable)%2C%20we%20execute%20the%20effect%20and%20observe%20the%20result.

that is incorrect, it is using runPromise, also it is showing that the result will be void, when in reality it is number
A fully-fledged functional effect system for TypeScript with a rich standard library
Managing Services – Effect
Was this page helpful?