// ets_tracing: off import type * as T from "../../../../Effect/index.js" import * as C from "../core.js" import * as Flatten from "./flatten.js" /** * Makes a channel from an effect that returns a channel in case of success */ export function unwrap( self: T.Effect> ): C.Channel { return Flatten.flatten(C.fromEffect(self)) }