// ets_tracing: off
import * as M from "../../../Managed";
import * as CH from "../Channel";
import * as C from "./core";
/**
 * Creates a sink produced from a managed effect.
 */

export function unwrapManaged(managed) {
  return new C.Sink(CH.unwrapManaged(M.map_(managed, _ => _.channel)));
}
//# sourceMappingURL=unwrapManaged.js.map