( withRuntime: (fiber: FiberRuntime.FiberRuntime<A, E>, status: FiberStatus.Running) => Effect.Effect<A, E, R> )
| 384 | |
| 385 | /* @internal */ |
| 386 | export const withFiberRuntime = <A, E = never, R = never>( |
| 387 | withRuntime: (fiber: FiberRuntime.FiberRuntime<A, E>, status: FiberStatus.Running) => Effect.Effect<A, E, R> |
| 388 | ): Effect.Effect<A, E, R> => { |
| 389 | const effect = new EffectPrimitive(OpCodes.OP_WITH_RUNTIME) as any |
| 390 | effect.effect_instruction_i0 = withRuntime |
| 391 | return effect |
| 392 | } |
| 393 | |
| 394 | /* @internal */ |
| 395 | export const acquireUseRelease: { |
no outgoing calls
no test coverage detected