UNPKG

@effect-ts/system

Version:

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

14 lines (11 loc) 378 B
// ets_tracing: off import * as T from "../../../../Effect/index.js" import type * as Ex from "../../../../Exit/index.js" import type * as C from "../core.js" import * as FromEffect from "./fromEffect.js" /** * The stream that ends with the `Exit` value `exit`. */ export function done<E, A>(exit: Ex.Exit<E, A>): C.IO<E, A> { return FromEffect.fromEffect(T.done(exit)) }