"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.unwrap = unwrap;

var _flatten = /*#__PURE__*/require("./flatten.cjs");

var _fromEffect = /*#__PURE__*/require("./fromEffect.cjs");

/**
 * Creates a stream produced from an effect
 */
function unwrap(fa) {
  return (0, _flatten.flatten)((0, _fromEffect.fromEffect)(fa));
}
//# sourceMappingURL=unwrap.cjs.map