Function
contextWithChannel
(
f: (env: Context.Context<Env>) => Channel.Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env1>
)
Source from the content-addressed store, hash-verified
| 478 | |
| 479 | /** @internal */ |
| 480 | export const contextWithChannel = < |
| 481 | Env, |
| 482 | OutElem, |
| 483 | InElem, |
| 484 | OutErr, |
| 485 | InErr, |
| 486 | OutDone, |
| 487 | InDone, |
| 488 | Env1 |
| 489 | >( |
| 490 | f: (env: Context.Context<Env>) => Channel.Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env1> |
| 491 | ): Channel.Channel<OutElem, InElem, OutErr, InErr, OutDone, InDone, Env | Env1> => core.flatMap(context<Env>(), f) |
| 492 | |
| 493 | /** @internal */ |
| 494 | export const contextWithEffect = <Env, OutDone, OutErr, Env1>( |
Tested by
no test coverage detected