(random: A)
| 1009 | * @category Random |
| 1010 | */ |
| 1011 | export const setRandom = <A extends Random.Random>(random: A): Layer<never> => |
| 1012 | scopedDiscard( |
| 1013 | fiberRuntime.fiberRefLocallyScopedWith(defaultServices.currentServices, Context.add(randomTag, random)) |
| 1014 | ) |
| 1015 | |
| 1016 | /** |
| 1017 | * @since 2.0.0 |
nothing calls this directly
no test coverage detected