Effect CommunityEC
Effect Community2y ago
6 replies
Stephen Bluck

Difference between `FiberSet.makeRuntime` and `Effect.runtime` in TypeScript Yield Statements

I am revising some of the stuff from the Effect advanced workshop. Can anyone remind me the difference between these two:
  const runFork = yield* _(FiberSet.makeRuntime<TodoRepository>())

and
  const runtime = yield* _(Effect.runtime<TodoRepository>())
  const runFork = Runtime.runFork(runtime)
Was this page helpful?