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) 321 B
// ets_tracing: off import { succeedWith } from "../Effect/core.mjs"; import { unsafeMake } from "./unsafeMake.mjs"; /** * Makes a new promise to be completed by the fiber with the specified id. */ export function makeAs(fiberId) { return succeedWith(() => unsafeMake(fiberId)); } //# sourceMappingURL=makeAs.mjs.map