// ets_tracing: off
import { toManaged } from "../Effect";
import { chain_ } from "../Effect/core";
import { fiberId } from "../Effect/fiberId";
import { makeAs } from "./makeAs";
/**
 * Makes a new managed promise to be completed by the fiber creating the promise.
 */

export function makeManaged() {
  return toManaged(chain_(fiberId, id => makeAs(id)));
}
//# sourceMappingURL=makeManaged.js.map