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

Function fiberRefUnsafeMakeRuntimeFlags

packages/effect/src/internal/core.ts:2009–2015  ·  view source on GitHub ↗
(
  initial: RuntimeFlags.RuntimeFlags
)

Source from the content-addressed store, hash-verified

2007
2008/** @internal */
2009export const fiberRefUnsafeMakeRuntimeFlags = (
2010 initial: RuntimeFlags.RuntimeFlags
2011): FiberRef.FiberRef<RuntimeFlags.RuntimeFlags> =>
2012 fiberRefUnsafeMakePatch(initial, {
2013 differ: runtimeFlags_.differ,
2014 fork: runtimeFlags_.differ.empty
2015 })
2016
2017/** @internal */
2018export const currentContext: FiberRef.FiberRef<Context.Context<never>> = globalValue(

Callers

nothing calls this directly

Calls 1

fiberRefUnsafeMakePatchFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…