// ets_tracing: off
import * as T from "../../../Effect";
import * as CH from "../Channel";
import * as C from "./core";
/**
 * Creates a sink produced from an effect.
 */

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