(
self: Channel<
OutElem,
OutErr,
OutDone,
InElem,
InErr,
InDone,
Env
>
)
| 3326 | * @since 2.0.0 |
| 3327 | */ |
| 3328 | export const drain = < |
| 3329 | OutElem, |
| 3330 | OutErr, |
| 3331 | OutDone, |
| 3332 | InElem, |
| 3333 | InErr, |
| 3334 | InDone, |
| 3335 | Env |
| 3336 | >( |
| 3337 | self: Channel< |
| 3338 | OutElem, |
| 3339 | OutErr, |
| 3340 | OutDone, |
| 3341 | InElem, |
| 3342 | InErr, |
| 3343 | InDone, |
| 3344 | Env |
| 3345 | > |
| 3346 | ): Channel<never, OutErr, OutDone, InElem, InErr, InDone, Env> => |
| 3347 | transformPull(self, (pull) => Effect.succeed(Effect.forever(pull, { disableYield: true }))) |
| 3348 | |
| 3349 | /** |
| 3350 | * Repeats this channel according to the provided schedule. |
nothing calls this directly
no test coverage detected