Skip to content

fork

const fork: <A, E, R>(
effect: Effect.Effect<A, E, R>,
) => Effect.Effect<
Fiber.Fiber<A, E>,
never,
Exclude<R, Scope.Scope> | Graft | Tasks<E>
>

Defined in: Plugin.ts:61

Starts an activation-owned worker. Its unhandled errors belong to the plugin, not the launch operation.

Type Parameter
A
E
R
Parameter Type
effect Effect.Effect<A, E, R>

Effect.Effect<Fiber.Fiber<A, E>, never, | Exclude<R, Scope.Scope> | Graft | Tasks<E>>