MCPcopy Index your code
hub / github.com/Effect-TS/effect / runDrain

Function runDrain

packages/effect/src/internal/channel.ts:2060–2062  ·  view source on GitHub ↗
(
  self: Channel.Channel<OutElem, unknown, OutErr, InErr, OutDone, InDone, Env>
)

Source from the content-addressed store, hash-verified

2058
2059/** @internal */
2060export const runDrain = <OutElem, OutErr, InErr, OutDone, InDone, Env>(
2061 self: Channel.Channel<OutElem, unknown, OutErr, InErr, OutDone, InDone, Env>
2062): Effect.Effect<OutDone, OutErr, Env> => run(drain(self))
2063
2064/** @internal */
2065export const runScoped = <OutErr, InErr, OutDone, InDone, Env>(

Callers

nothing calls this directly

Calls 2

runFunction · 0.70
drainFunction · 0.70

Tested by

no test coverage detected