MCPcopy Create free account
hub / github.com/Effect-TS/effect / fiberRefMakeRuntimeFlags

Function fiberRefMakeRuntimeFlags

packages/effect/src/internal/fiberRuntime.ts:3420–3423  ·  view source on GitHub ↗
(
  initial: RuntimeFlags.RuntimeFlags
)

Source from the content-addressed store, hash-verified

3418
3419/* @internal */
3420export const fiberRefMakeRuntimeFlags = (
3421 initial: RuntimeFlags.RuntimeFlags
3422): Effect.Effect<FiberRef.FiberRef<RuntimeFlags.RuntimeFlags>, never, Scope.Scope> =>
3423 fiberRefMakeWith(() => core.fiberRefUnsafeMakeRuntimeFlags(initial))
3424
3425/** @internal */
3426export const currentRuntimeFlags: FiberRef.FiberRef<RuntimeFlags.RuntimeFlags> = core.fiberRefUnsafeMakeRuntimeFlags(

Callers

nothing calls this directly

Calls 1

fiberRefMakeWithFunction · 0.85

Tested by

no test coverage detected