( initial: Context.Context<A> )
| 1971 | |
| 1972 | /** @internal */ |
| 1973 | export const fiberRefUnsafeMakeContext = <A>( |
| 1974 | initial: Context.Context<A> |
| 1975 | ): FiberRef.FiberRef<Context.Context<A>> => { |
| 1976 | const differ = internalDiffer.environment<A>() |
| 1977 | return fiberRefUnsafeMakePatch(initial, { |
| 1978 | differ, |
| 1979 | fork: differ.empty |
| 1980 | }) |
| 1981 | } |
| 1982 | |
| 1983 | /** @internal */ |
| 1984 | export const fiberRefUnsafeMakePatch = <Value, Patch>( |
no test coverage detected
searching dependent graphs…