MCPcopy Create free account
hub / github.com/WinterTC55/iter-streams / PipeToOptions

Interface PipeToOptions

src/types.ts:512–521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510 * Options for Stream.pipeTo()
511 */
512export interface PipeToOptions {
513 /** Cancellation signal. */
514 signal?: AbortSignal;
515
516 /** If true, don't call writer.end() when source completes. */
517 preventClose?: boolean;
518
519 /** If true, don't call writer.fail() when source errors. */
520 preventFail?: boolean;
521}
522
523/**
524 * Options for Stream.pipeToSync()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected