StreamPipeOptions constructor

StreamPipeOptions({
  1. bool? preventClose,
  2. bool? preventAbort,
  3. bool? preventCancel,
  4. AbortSignal? signal,
})

Implementation

factory StreamPipeOptions(
        {bool? preventClose,
        bool? preventAbort,
        bool? preventCancel,
        AbortSignal? signal}) =>
    StreamPipeOptions._(
        preventClose: preventClose ?? false,
        preventAbort: preventAbort ?? false,
        preventCancel: preventCancel ?? false,
        signal: signal ?? undefined);