( tag: Context.Tag<I, S> )
| 1851 | * @category environment |
| 1852 | */ |
| 1853 | export const serviceOption = <I, S>( |
| 1854 | tag: Context.Tag<I, S> |
| 1855 | ): Micro<Option.Option<S>> => withMicroFiber((fiber) => succeed(Context.getOption(fiber.context, tag))) |
| 1856 | |
| 1857 | /** |
| 1858 | * Update the Context with the given mapping function. |