Effect CommunityEC
Effect Community•3y ago•
4 replies
Effect Bot

Effect.forkDaemon

@effect/io
Forks the effect into a new fiber attached to the global scope. Because the new fiber is attached to the global scope, when the fiber executing the returned effect terminates, the forked fiber will continue running. Signature

export declare const forkDaemon: <R, E, A>(
  self: Effect<R, E, A>,
) => Effect<R, never, Fiber.RuntimeFiber<E, A>>

Added in v1.0.0

Was this page helpful?