"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.forkManaged = void 0;
const fork_1 = require("../Managed/fork");
const toManaged_1 = require("./toManaged");
/**
 * Forks the fiber in a `Managed`. Using the `Managed` value will
 * execute the effect in the fiber, while ensuring its interruption when
 * the effect supplied to `use` completes.
 */
function forkManaged(self, __trace) {
    return (0, fork_1.fork)((0, toManaged_1.toManaged)(self), __trace);
}
exports.forkManaged = forkManaged;
//# sourceMappingURL=forkManaged.js.map