// ets_tracing: off
import * as T from "../../../../Effect";
import * as MapEffect from "./mapEffect";
/**
 * Flattens `Exit` values. `Exit.Failure` values translate to stream failures
 * while `Exit.Success` values translate to stream elements.
 */

export function flattenExit(self) {
  return MapEffect.mapEffect_(self, a => T.done(a));
}
//# sourceMappingURL=flattenExit.js.map