"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.scopeWith = void 0;
const core_1 = require("./core");
/**
 * 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_1.descriptorWith)((d) => f(d.scope), __trace);
}
exports.scopeWith = scopeWith;
//# sourceMappingURL=scopeWith.js.map