import { ContinuationK, Read } from "@effect/core/stream/Channel/definition/primitives";
/**
 * Reads an input and continue exposing both full error cause and completion.
 *
 * @tsplus static ets/Channel/Ops readWithCause
 */

export function readWithCause(input, halt, done) {
  return new Read(input, new ContinuationK(done, halt));
}
//# sourceMappingURL=readWithCause.mjs.map