( clock: A )
| 982 | * @category clock |
| 983 | */ |
| 984 | export const setClock: <A extends Clock.Clock>(clock: A) => Layer<never> = <A extends Clock.Clock>( |
| 985 | clock: A |
| 986 | ): Layer<never> => |
| 987 | scopedDiscard( |
| 988 | fiberRuntime.fiberRefLocallyScopedWith(defaultServices.currentServices, Context.add(clockTag, clock)) |
| 989 | ) |
| 990 | |
| 991 | /** |
| 992 | * Sets the current `ConfigProvider`. |
nothing calls this directly
no test coverage detected