UNPKG

@effect-ts/system

Version:

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

19 lines (17 loc) 480 B
import * as CH from "../../Channel/index.mjs"; import * as C from "../core.mjs"; /** * Executes the provided finalizer after this stream's finalizers run. */ export function ensuring_(self, fin) { return new C.Stream(CH.ensuring_(self.channel, fin)); } /** * Executes the provided finalizer after this stream's finalizers run. * * @ets_data_first ensuring_ */ export function ensuring(fin) { return self => ensuring_(self, fin); } //# sourceMappingURL=ensuring.mjs.map