UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

11 lines (10 loc) 331 B
// ets_tracing: off import { chain_, yieldNow } from "./core.mjs"; import { zipRight_ } from "./zips.mjs"; /** * Repeats this effect forever (until the first error). */ export function forever(effect, __trace) { return chain_(effect, () => zipRight_(yieldNow, forever(effect)), __trace); } //# sourceMappingURL=forever.mjs.map