import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/fromEffect";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/flatten";
/**
 * Creates a stream produced from an `Effect`.
 *
 * @tsplus static ets/Stream/Ops unwrap
 */

export function unwrap(effect, __tsplusTrace) {
  return tsplus_module_2.flatten(tsplus_module_1.fromEffect(effect, __tsplusTrace), __tsplusTrace);
}
//# sourceMappingURL=unwrap.mjs.map