UNPKG

@effect-ts/system

Version:

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

17 lines (14 loc) 424 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.scopeWith = scopeWith; var _core = /*#__PURE__*/require("./core.js"); /** * Passes the fiber's scope to the specified function, which creates an effect * that will be returned from this method. */ function scopeWith(f, __trace) { return (0, _core.descriptorWith)(d => f(d.scope), __trace); } //# sourceMappingURL=scopeWith.js.map