(
initial: Value,
options?: {
readonly fork?: ((a: Value) => Value) | undefined
readonly join?: ((left: Value, right: Value) => Value) | undefined
}
)
| 1935 | |
| 1936 | /** @internal */ |
| 1937 | export const fiberRefUnsafeMake = <Value>( |
| 1938 | initial: Value, |
| 1939 | options?: { |
| 1940 | readonly fork?: ((a: Value) => Value) | undefined |
| 1941 | readonly join?: ((left: Value, right: Value) => Value) | undefined |
| 1942 | } |
| 1943 | ): FiberRef.FiberRef<Value> => |
| 1944 | fiberRefUnsafeMakePatch(initial, { |
| 1945 | differ: internalDiffer.update(), |
| 1946 | fork: options?.fork ?? identity, |
| 1947 | join: options?.join |
| 1948 | }) |
| 1949 | |
| 1950 | /** @internal */ |
| 1951 | export const fiberRefUnsafeMakeHashSet = <A>( |
no test coverage detected