(
initial: A,
options?: {
readonly fork?: ((a: A) => A) | undefined
readonly join?: ((left: A, right: A) => A) | undefined
}
)
| 3383 | |
| 3384 | /* @internal */ |
| 3385 | export const fiberRefMake = <A>( |
| 3386 | initial: A, |
| 3387 | options?: { |
| 3388 | readonly fork?: ((a: A) => A) | undefined |
| 3389 | readonly join?: ((left: A, right: A) => A) | undefined |
| 3390 | } |
| 3391 | ): Effect.Effect<FiberRef.FiberRef<A>, never, Scope.Scope> => |
| 3392 | fiberRefMakeWith(() => core.fiberRefUnsafeMake(initial, options)) |
| 3393 | |
| 3394 | /* @internal */ |
| 3395 | export const fiberRefMakeWith = <Value>( |
nothing calls this directly
no test coverage detected