Effect CommunityEC
Effect Community3y ago
18 replies
Max Khramtsov

Understanding Fibers: A Comparison to Promises and Effects

Can't understand this https://www.effect.website/docs/concurrency/fibers#when-do-fibers-run .
Is my understanding correct: Fiber is an analogue of a Promise, first all the usual effects are executed (analogous to tasks), then microtasks are executed and yield* _(Effect.yieldNow()) - analogous to await
Was this page helpful?