StreamPipeOptions constructor

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

Implementation

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