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) 256 B
// ets_tracing: off import * as CH from "../../Channel/index.mjs"; import * as C from "../core.mjs"; /** * Halt a stream with the specified error */ export function fail(error) { return new C.Stream(CH.fail(error)); } //# sourceMappingURL=fail.mjs.map