import { flattenChunks } from "./flattenChunks"
import { flattenExitOption } from "./flattenExitOption"
/**
 * Unwraps `Exit` values and flatten chunks that also signify end-of-stream by failing with `None`.
 */

export function flattenTake(self) {
  return flattenChunks(flattenExitOption(self))
}
//# sourceMappingURL=flattenTake.js.map
