MCPcopy Create free account
hub / github.com/Effect-TS/effect / forever

Function forever

packages/effect/src/Channel.ts:3240–3242  ·  view source on GitHub ↗
(
  self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
)

Source from the content-addressed store, hash-verified

3238 * @since 4.0.0
3239 */
3240export const forever = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
3241 self: Channel<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>
3242): Channel<OutElem, OutErr, never, InElem, InErr, InDone, Env> => concatWith(self, () => forever(self))
3243
3244/**
3245 * Runs a schedule step for each output element while preserving the emitted

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected