import * as T from "../_internal/effect"
import { mapM_ } from "./mapM"
/**
 * Flattens `Exit` values. `Exit.Failure` values translate to stream failures
 * while `Exit.Success` values translate to stream elements.
 */

export function flattenExit(self) {
  return mapM_(self, (o) => T.done(o))
}
//# sourceMappingURL=flattenExit.js.map
