( service: Context.Key<I, S> )
| 2059 | |
| 2060 | /** @internal */ |
| 2061 | export const serviceOption = <I, S>( |
| 2062 | service: Context.Key<I, S> |
| 2063 | ): Effect.Effect<Option.Option<S>> => withFiber((fiber) => succeed(Context.getOption(fiber.context, service))) |
| 2064 | |
| 2065 | /** @internal */ |
| 2066 | export const serviceOptional = <I, S>( |