EffectTalk

Runtime.runFork for long-running effects

Use runtime.runFork(effect) to run an effect in a background fiber. Returns a Fiber you can join or interrupt. Useful for servers that handle requests without blocking the main flow.

  • Use runtime.runFork(effect) to run in background
  • Returns a Fiber - use interrupt to stop
  • Don't block; the fiber runs independently
Loading code editor...