@cloudflare/workers-types 4.20251223.0 → 4.20251225.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/2021-11-03/index.d.ts +3 -3
- package/2021-11-03/index.ts +3 -3
- package/2022-01-31/index.d.ts +3 -3
- package/2022-01-31/index.ts +3 -3
- package/2022-03-21/index.d.ts +3 -3
- package/2022-03-21/index.ts +3 -3
- package/2022-08-04/index.d.ts +3 -3
- package/2022-08-04/index.ts +3 -3
- package/2022-10-31/index.d.ts +3 -3
- package/2022-10-31/index.ts +3 -3
- package/2022-11-30/index.d.ts +3 -3
- package/2022-11-30/index.ts +3 -3
- package/2023-03-01/index.d.ts +3 -3
- package/2023-03-01/index.ts +3 -3
- package/2023-07-01/index.d.ts +3 -3
- package/2023-07-01/index.ts +3 -3
- package/experimental/index.d.ts +3 -3
- package/experimental/index.ts +3 -3
- package/index.d.ts +3 -3
- package/index.ts +3 -3
- package/latest/index.d.ts +3 -3
- package/latest/index.ts +3 -3
- package/oldest/index.d.ts +3 -3
- package/oldest/index.ts +3 -3
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -2508,6 +2508,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2508
2508
|
expectedLength?: number;
|
|
2509
2509
|
}
|
|
2510
2510
|
interface StreamPipeOptions {
|
|
2511
|
+
preventAbort?: boolean;
|
|
2512
|
+
preventCancel?: boolean;
|
|
2511
2513
|
/**
|
|
2512
2514
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2513
2515
|
*
|
|
@@ -2526,8 +2528,6 @@ interface StreamPipeOptions {
|
|
|
2526
2528
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2527
2529
|
*/
|
|
2528
2530
|
preventClose?: boolean;
|
|
2529
|
-
preventAbort?: boolean;
|
|
2530
|
-
preventCancel?: boolean;
|
|
2531
2531
|
signal?: AbortSignal;
|
|
2532
2532
|
}
|
|
2533
2533
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2820,13 +2820,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2820
2820
|
terminate(): void;
|
|
2821
2821
|
}
|
|
2822
2822
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2823
|
+
readable: ReadableStream<R>;
|
|
2823
2824
|
/**
|
|
2824
2825
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2825
2826
|
*
|
|
2826
2827
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2827
2828
|
*/
|
|
2828
2829
|
writable: WritableStream<W>;
|
|
2829
|
-
readable: ReadableStream<R>;
|
|
2830
2830
|
}
|
|
2831
2831
|
/**
|
|
2832
2832
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2021-11-03/index.ts
CHANGED
|
@@ -2516,6 +2516,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2516
2516
|
expectedLength?: number;
|
|
2517
2517
|
}
|
|
2518
2518
|
export interface StreamPipeOptions {
|
|
2519
|
+
preventAbort?: boolean;
|
|
2520
|
+
preventCancel?: boolean;
|
|
2519
2521
|
/**
|
|
2520
2522
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2521
2523
|
*
|
|
@@ -2534,8 +2536,6 @@ export interface StreamPipeOptions {
|
|
|
2534
2536
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2535
2537
|
*/
|
|
2536
2538
|
preventClose?: boolean;
|
|
2537
|
-
preventAbort?: boolean;
|
|
2538
|
-
preventCancel?: boolean;
|
|
2539
2539
|
signal?: AbortSignal;
|
|
2540
2540
|
}
|
|
2541
2541
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2828,13 +2828,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2828
2828
|
terminate(): void;
|
|
2829
2829
|
}
|
|
2830
2830
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2831
|
+
readable: ReadableStream<R>;
|
|
2831
2832
|
/**
|
|
2832
2833
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2833
2834
|
*
|
|
2834
2835
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2835
2836
|
*/
|
|
2836
2837
|
writable: WritableStream<W>;
|
|
2837
|
-
readable: ReadableStream<R>;
|
|
2838
2838
|
}
|
|
2839
2839
|
/**
|
|
2840
2840
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -2515,6 +2515,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2515
2515
|
expectedLength?: number;
|
|
2516
2516
|
}
|
|
2517
2517
|
interface StreamPipeOptions {
|
|
2518
|
+
preventAbort?: boolean;
|
|
2519
|
+
preventCancel?: boolean;
|
|
2518
2520
|
/**
|
|
2519
2521
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2520
2522
|
*
|
|
@@ -2533,8 +2535,6 @@ interface StreamPipeOptions {
|
|
|
2533
2535
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2534
2536
|
*/
|
|
2535
2537
|
preventClose?: boolean;
|
|
2536
|
-
preventAbort?: boolean;
|
|
2537
|
-
preventCancel?: boolean;
|
|
2538
2538
|
signal?: AbortSignal;
|
|
2539
2539
|
}
|
|
2540
2540
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2827,13 +2827,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2827
2827
|
terminate(): void;
|
|
2828
2828
|
}
|
|
2829
2829
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2830
|
+
readable: ReadableStream<R>;
|
|
2830
2831
|
/**
|
|
2831
2832
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2832
2833
|
*
|
|
2833
2834
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2834
2835
|
*/
|
|
2835
2836
|
writable: WritableStream<W>;
|
|
2836
|
-
readable: ReadableStream<R>;
|
|
2837
2837
|
}
|
|
2838
2838
|
/**
|
|
2839
2839
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-01-31/index.ts
CHANGED
|
@@ -2523,6 +2523,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2523
2523
|
expectedLength?: number;
|
|
2524
2524
|
}
|
|
2525
2525
|
export interface StreamPipeOptions {
|
|
2526
|
+
preventAbort?: boolean;
|
|
2527
|
+
preventCancel?: boolean;
|
|
2526
2528
|
/**
|
|
2527
2529
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2528
2530
|
*
|
|
@@ -2541,8 +2543,6 @@ export interface StreamPipeOptions {
|
|
|
2541
2543
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2542
2544
|
*/
|
|
2543
2545
|
preventClose?: boolean;
|
|
2544
|
-
preventAbort?: boolean;
|
|
2545
|
-
preventCancel?: boolean;
|
|
2546
2546
|
signal?: AbortSignal;
|
|
2547
2547
|
}
|
|
2548
2548
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2835,13 +2835,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2835
2835
|
terminate(): void;
|
|
2836
2836
|
}
|
|
2837
2837
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2838
|
+
readable: ReadableStream<R>;
|
|
2838
2839
|
/**
|
|
2839
2840
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2840
2841
|
*
|
|
2841
2842
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2842
2843
|
*/
|
|
2843
2844
|
writable: WritableStream<W>;
|
|
2844
|
-
readable: ReadableStream<R>;
|
|
2845
2845
|
}
|
|
2846
2846
|
/**
|
|
2847
2847
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -2523,6 +2523,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2523
2523
|
expectedLength?: number;
|
|
2524
2524
|
}
|
|
2525
2525
|
interface StreamPipeOptions {
|
|
2526
|
+
preventAbort?: boolean;
|
|
2527
|
+
preventCancel?: boolean;
|
|
2526
2528
|
/**
|
|
2527
2529
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2528
2530
|
*
|
|
@@ -2541,8 +2543,6 @@ interface StreamPipeOptions {
|
|
|
2541
2543
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2542
2544
|
*/
|
|
2543
2545
|
preventClose?: boolean;
|
|
2544
|
-
preventAbort?: boolean;
|
|
2545
|
-
preventCancel?: boolean;
|
|
2546
2546
|
signal?: AbortSignal;
|
|
2547
2547
|
}
|
|
2548
2548
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2835,13 +2835,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2835
2835
|
terminate(): void;
|
|
2836
2836
|
}
|
|
2837
2837
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2838
|
+
readable: ReadableStream<R>;
|
|
2838
2839
|
/**
|
|
2839
2840
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2840
2841
|
*
|
|
2841
2842
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2842
2843
|
*/
|
|
2843
2844
|
writable: WritableStream<W>;
|
|
2844
|
-
readable: ReadableStream<R>;
|
|
2845
2845
|
}
|
|
2846
2846
|
/**
|
|
2847
2847
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-03-21/index.ts
CHANGED
|
@@ -2531,6 +2531,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2531
2531
|
expectedLength?: number;
|
|
2532
2532
|
}
|
|
2533
2533
|
export interface StreamPipeOptions {
|
|
2534
|
+
preventAbort?: boolean;
|
|
2535
|
+
preventCancel?: boolean;
|
|
2534
2536
|
/**
|
|
2535
2537
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2536
2538
|
*
|
|
@@ -2549,8 +2551,6 @@ export interface StreamPipeOptions {
|
|
|
2549
2551
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2550
2552
|
*/
|
|
2551
2553
|
preventClose?: boolean;
|
|
2552
|
-
preventAbort?: boolean;
|
|
2553
|
-
preventCancel?: boolean;
|
|
2554
2554
|
signal?: AbortSignal;
|
|
2555
2555
|
}
|
|
2556
2556
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2843,13 +2843,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2843
2843
|
terminate(): void;
|
|
2844
2844
|
}
|
|
2845
2845
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2846
|
+
readable: ReadableStream<R>;
|
|
2846
2847
|
/**
|
|
2847
2848
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2848
2849
|
*
|
|
2849
2850
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2850
2851
|
*/
|
|
2851
2852
|
writable: WritableStream<W>;
|
|
2852
|
-
readable: ReadableStream<R>;
|
|
2853
2853
|
}
|
|
2854
2854
|
/**
|
|
2855
2855
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -2524,6 +2524,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2524
2524
|
expectedLength?: number;
|
|
2525
2525
|
}
|
|
2526
2526
|
interface StreamPipeOptions {
|
|
2527
|
+
preventAbort?: boolean;
|
|
2528
|
+
preventCancel?: boolean;
|
|
2527
2529
|
/**
|
|
2528
2530
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2529
2531
|
*
|
|
@@ -2542,8 +2544,6 @@ interface StreamPipeOptions {
|
|
|
2542
2544
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2543
2545
|
*/
|
|
2544
2546
|
preventClose?: boolean;
|
|
2545
|
-
preventAbort?: boolean;
|
|
2546
|
-
preventCancel?: boolean;
|
|
2547
2547
|
signal?: AbortSignal;
|
|
2548
2548
|
}
|
|
2549
2549
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2836,13 +2836,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2836
2836
|
terminate(): void;
|
|
2837
2837
|
}
|
|
2838
2838
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2839
|
+
readable: ReadableStream<R>;
|
|
2839
2840
|
/**
|
|
2840
2841
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2841
2842
|
*
|
|
2842
2843
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2843
2844
|
*/
|
|
2844
2845
|
writable: WritableStream<W>;
|
|
2845
|
-
readable: ReadableStream<R>;
|
|
2846
2846
|
}
|
|
2847
2847
|
/**
|
|
2848
2848
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-08-04/index.ts
CHANGED
|
@@ -2532,6 +2532,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2532
2532
|
expectedLength?: number;
|
|
2533
2533
|
}
|
|
2534
2534
|
export interface StreamPipeOptions {
|
|
2535
|
+
preventAbort?: boolean;
|
|
2536
|
+
preventCancel?: boolean;
|
|
2535
2537
|
/**
|
|
2536
2538
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2537
2539
|
*
|
|
@@ -2550,8 +2552,6 @@ export interface StreamPipeOptions {
|
|
|
2550
2552
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2551
2553
|
*/
|
|
2552
2554
|
preventClose?: boolean;
|
|
2553
|
-
preventAbort?: boolean;
|
|
2554
|
-
preventCancel?: boolean;
|
|
2555
2555
|
signal?: AbortSignal;
|
|
2556
2556
|
}
|
|
2557
2557
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2844,13 +2844,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2844
2844
|
terminate(): void;
|
|
2845
2845
|
}
|
|
2846
2846
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2847
|
+
readable: ReadableStream<R>;
|
|
2847
2848
|
/**
|
|
2848
2849
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2849
2850
|
*
|
|
2850
2851
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2851
2852
|
*/
|
|
2852
2853
|
writable: WritableStream<W>;
|
|
2853
|
-
readable: ReadableStream<R>;
|
|
2854
2854
|
}
|
|
2855
2855
|
/**
|
|
2856
2856
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -2524,6 +2524,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2524
2524
|
expectedLength?: number;
|
|
2525
2525
|
}
|
|
2526
2526
|
interface StreamPipeOptions {
|
|
2527
|
+
preventAbort?: boolean;
|
|
2528
|
+
preventCancel?: boolean;
|
|
2527
2529
|
/**
|
|
2528
2530
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2529
2531
|
*
|
|
@@ -2542,8 +2544,6 @@ interface StreamPipeOptions {
|
|
|
2542
2544
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2543
2545
|
*/
|
|
2544
2546
|
preventClose?: boolean;
|
|
2545
|
-
preventAbort?: boolean;
|
|
2546
|
-
preventCancel?: boolean;
|
|
2547
2547
|
signal?: AbortSignal;
|
|
2548
2548
|
}
|
|
2549
2549
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2836,13 +2836,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2836
2836
|
terminate(): void;
|
|
2837
2837
|
}
|
|
2838
2838
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2839
|
+
readable: ReadableStream<R>;
|
|
2839
2840
|
/**
|
|
2840
2841
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2841
2842
|
*
|
|
2842
2843
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2843
2844
|
*/
|
|
2844
2845
|
writable: WritableStream<W>;
|
|
2845
|
-
readable: ReadableStream<R>;
|
|
2846
2846
|
}
|
|
2847
2847
|
/**
|
|
2848
2848
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-10-31/index.ts
CHANGED
|
@@ -2532,6 +2532,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2532
2532
|
expectedLength?: number;
|
|
2533
2533
|
}
|
|
2534
2534
|
export interface StreamPipeOptions {
|
|
2535
|
+
preventAbort?: boolean;
|
|
2536
|
+
preventCancel?: boolean;
|
|
2535
2537
|
/**
|
|
2536
2538
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2537
2539
|
*
|
|
@@ -2550,8 +2552,6 @@ export interface StreamPipeOptions {
|
|
|
2550
2552
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2551
2553
|
*/
|
|
2552
2554
|
preventClose?: boolean;
|
|
2553
|
-
preventAbort?: boolean;
|
|
2554
|
-
preventCancel?: boolean;
|
|
2555
2555
|
signal?: AbortSignal;
|
|
2556
2556
|
}
|
|
2557
2557
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2844,13 +2844,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2844
2844
|
terminate(): void;
|
|
2845
2845
|
}
|
|
2846
2846
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2847
|
+
readable: ReadableStream<R>;
|
|
2847
2848
|
/**
|
|
2848
2849
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2849
2850
|
*
|
|
2850
2851
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2851
2852
|
*/
|
|
2852
2853
|
writable: WritableStream<W>;
|
|
2853
|
-
readable: ReadableStream<R>;
|
|
2854
2854
|
}
|
|
2855
2855
|
/**
|
|
2856
2856
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -2529,6 +2529,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2529
2529
|
expectedLength?: number;
|
|
2530
2530
|
}
|
|
2531
2531
|
interface StreamPipeOptions {
|
|
2532
|
+
preventAbort?: boolean;
|
|
2533
|
+
preventCancel?: boolean;
|
|
2532
2534
|
/**
|
|
2533
2535
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2534
2536
|
*
|
|
@@ -2547,8 +2549,6 @@ interface StreamPipeOptions {
|
|
|
2547
2549
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2548
2550
|
*/
|
|
2549
2551
|
preventClose?: boolean;
|
|
2550
|
-
preventAbort?: boolean;
|
|
2551
|
-
preventCancel?: boolean;
|
|
2552
2552
|
signal?: AbortSignal;
|
|
2553
2553
|
}
|
|
2554
2554
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2841,13 +2841,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2841
2841
|
terminate(): void;
|
|
2842
2842
|
}
|
|
2843
2843
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2844
|
+
readable: ReadableStream<R>;
|
|
2844
2845
|
/**
|
|
2845
2846
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2846
2847
|
*
|
|
2847
2848
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2848
2849
|
*/
|
|
2849
2850
|
writable: WritableStream<W>;
|
|
2850
|
-
readable: ReadableStream<R>;
|
|
2851
2851
|
}
|
|
2852
2852
|
/**
|
|
2853
2853
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2022-11-30/index.ts
CHANGED
|
@@ -2537,6 +2537,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2537
2537
|
expectedLength?: number;
|
|
2538
2538
|
}
|
|
2539
2539
|
export interface StreamPipeOptions {
|
|
2540
|
+
preventAbort?: boolean;
|
|
2541
|
+
preventCancel?: boolean;
|
|
2540
2542
|
/**
|
|
2541
2543
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2542
2544
|
*
|
|
@@ -2555,8 +2557,6 @@ export interface StreamPipeOptions {
|
|
|
2555
2557
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2556
2558
|
*/
|
|
2557
2559
|
preventClose?: boolean;
|
|
2558
|
-
preventAbort?: boolean;
|
|
2559
|
-
preventCancel?: boolean;
|
|
2560
2560
|
signal?: AbortSignal;
|
|
2561
2561
|
}
|
|
2562
2562
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2849,13 +2849,13 @@ export declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2849
2849
|
terminate(): void;
|
|
2850
2850
|
}
|
|
2851
2851
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2852
|
+
readable: ReadableStream<R>;
|
|
2852
2853
|
/**
|
|
2853
2854
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2854
2855
|
*
|
|
2855
2856
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2856
2857
|
*/
|
|
2857
2858
|
writable: WritableStream<W>;
|
|
2858
|
-
readable: ReadableStream<R>;
|
|
2859
2859
|
}
|
|
2860
2860
|
/**
|
|
2861
2861
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -2535,6 +2535,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2535
2535
|
expectedLength?: number;
|
|
2536
2536
|
}
|
|
2537
2537
|
interface StreamPipeOptions {
|
|
2538
|
+
preventAbort?: boolean;
|
|
2539
|
+
preventCancel?: boolean;
|
|
2538
2540
|
/**
|
|
2539
2541
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2540
2542
|
*
|
|
@@ -2553,8 +2555,6 @@ interface StreamPipeOptions {
|
|
|
2553
2555
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2554
2556
|
*/
|
|
2555
2557
|
preventClose?: boolean;
|
|
2556
|
-
preventAbort?: boolean;
|
|
2557
|
-
preventCancel?: boolean;
|
|
2558
2558
|
signal?: AbortSignal;
|
|
2559
2559
|
}
|
|
2560
2560
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2847,13 +2847,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2847
2847
|
terminate(): void;
|
|
2848
2848
|
}
|
|
2849
2849
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2850
|
+
readable: ReadableStream<R>;
|
|
2850
2851
|
/**
|
|
2851
2852
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2852
2853
|
*
|
|
2853
2854
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2854
2855
|
*/
|
|
2855
2856
|
writable: WritableStream<W>;
|
|
2856
|
-
readable: ReadableStream<R>;
|
|
2857
2857
|
}
|
|
2858
2858
|
/**
|
|
2859
2859
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2023-03-01/index.ts
CHANGED
|
@@ -2543,6 +2543,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2543
2543
|
expectedLength?: number;
|
|
2544
2544
|
}
|
|
2545
2545
|
export interface StreamPipeOptions {
|
|
2546
|
+
preventAbort?: boolean;
|
|
2547
|
+
preventCancel?: boolean;
|
|
2546
2548
|
/**
|
|
2547
2549
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2548
2550
|
*
|
|
@@ -2561,8 +2563,6 @@ export interface StreamPipeOptions {
|
|
|
2561
2563
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2562
2564
|
*/
|
|
2563
2565
|
preventClose?: boolean;
|
|
2564
|
-
preventAbort?: boolean;
|
|
2565
|
-
preventCancel?: boolean;
|
|
2566
2566
|
signal?: AbortSignal;
|
|
2567
2567
|
}
|
|
2568
2568
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2855,13 +2855,13 @@ export declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2855
2855
|
terminate(): void;
|
|
2856
2856
|
}
|
|
2857
2857
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2858
|
+
readable: ReadableStream<R>;
|
|
2858
2859
|
/**
|
|
2859
2860
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2860
2861
|
*
|
|
2861
2862
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2862
2863
|
*/
|
|
2863
2864
|
writable: WritableStream<W>;
|
|
2864
|
-
readable: ReadableStream<R>;
|
|
2865
2865
|
}
|
|
2866
2866
|
/**
|
|
2867
2867
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -2535,6 +2535,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2535
2535
|
expectedLength?: number;
|
|
2536
2536
|
}
|
|
2537
2537
|
interface StreamPipeOptions {
|
|
2538
|
+
preventAbort?: boolean;
|
|
2539
|
+
preventCancel?: boolean;
|
|
2538
2540
|
/**
|
|
2539
2541
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2540
2542
|
*
|
|
@@ -2553,8 +2555,6 @@ interface StreamPipeOptions {
|
|
|
2553
2555
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2554
2556
|
*/
|
|
2555
2557
|
preventClose?: boolean;
|
|
2556
|
-
preventAbort?: boolean;
|
|
2557
|
-
preventCancel?: boolean;
|
|
2558
2558
|
signal?: AbortSignal;
|
|
2559
2559
|
}
|
|
2560
2560
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2847,13 +2847,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2847
2847
|
terminate(): void;
|
|
2848
2848
|
}
|
|
2849
2849
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2850
|
+
readable: ReadableStream<R>;
|
|
2850
2851
|
/**
|
|
2851
2852
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2852
2853
|
*
|
|
2853
2854
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2854
2855
|
*/
|
|
2855
2856
|
writable: WritableStream<W>;
|
|
2856
|
-
readable: ReadableStream<R>;
|
|
2857
2857
|
}
|
|
2858
2858
|
/**
|
|
2859
2859
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/2023-07-01/index.ts
CHANGED
|
@@ -2543,6 +2543,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2543
2543
|
expectedLength?: number;
|
|
2544
2544
|
}
|
|
2545
2545
|
export interface StreamPipeOptions {
|
|
2546
|
+
preventAbort?: boolean;
|
|
2547
|
+
preventCancel?: boolean;
|
|
2546
2548
|
/**
|
|
2547
2549
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2548
2550
|
*
|
|
@@ -2561,8 +2563,6 @@ export interface StreamPipeOptions {
|
|
|
2561
2563
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2562
2564
|
*/
|
|
2563
2565
|
preventClose?: boolean;
|
|
2564
|
-
preventAbort?: boolean;
|
|
2565
|
-
preventCancel?: boolean;
|
|
2566
2566
|
signal?: AbortSignal;
|
|
2567
2567
|
}
|
|
2568
2568
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2855,13 +2855,13 @@ export declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2855
2855
|
terminate(): void;
|
|
2856
2856
|
}
|
|
2857
2857
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2858
|
+
readable: ReadableStream<R>;
|
|
2858
2859
|
/**
|
|
2859
2860
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2860
2861
|
*
|
|
2861
2862
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2862
2863
|
*/
|
|
2863
2864
|
writable: WritableStream<W>;
|
|
2864
|
-
readable: ReadableStream<R>;
|
|
2865
2865
|
}
|
|
2866
2866
|
/**
|
|
2867
2867
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/experimental/index.d.ts
CHANGED
|
@@ -2641,6 +2641,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2641
2641
|
expectedLength?: number;
|
|
2642
2642
|
}
|
|
2643
2643
|
interface StreamPipeOptions {
|
|
2644
|
+
preventAbort?: boolean;
|
|
2645
|
+
preventCancel?: boolean;
|
|
2644
2646
|
/**
|
|
2645
2647
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2646
2648
|
*
|
|
@@ -2659,8 +2661,6 @@ interface StreamPipeOptions {
|
|
|
2659
2661
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2660
2662
|
*/
|
|
2661
2663
|
preventClose?: boolean;
|
|
2662
|
-
preventAbort?: boolean;
|
|
2663
|
-
preventCancel?: boolean;
|
|
2664
2664
|
signal?: AbortSignal;
|
|
2665
2665
|
}
|
|
2666
2666
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2953,13 +2953,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2953
2953
|
terminate(): void;
|
|
2954
2954
|
}
|
|
2955
2955
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2956
|
+
readable: ReadableStream<R>;
|
|
2956
2957
|
/**
|
|
2957
2958
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2958
2959
|
*
|
|
2959
2960
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2960
2961
|
*/
|
|
2961
2962
|
writable: WritableStream<W>;
|
|
2962
|
-
readable: ReadableStream<R>;
|
|
2963
2963
|
}
|
|
2964
2964
|
/**
|
|
2965
2965
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/experimental/index.ts
CHANGED
|
@@ -2649,6 +2649,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2649
2649
|
expectedLength?: number;
|
|
2650
2650
|
}
|
|
2651
2651
|
export interface StreamPipeOptions {
|
|
2652
|
+
preventAbort?: boolean;
|
|
2653
|
+
preventCancel?: boolean;
|
|
2652
2654
|
/**
|
|
2653
2655
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2654
2656
|
*
|
|
@@ -2667,8 +2669,6 @@ export interface StreamPipeOptions {
|
|
|
2667
2669
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2668
2670
|
*/
|
|
2669
2671
|
preventClose?: boolean;
|
|
2670
|
-
preventAbort?: boolean;
|
|
2671
|
-
preventCancel?: boolean;
|
|
2672
2672
|
signal?: AbortSignal;
|
|
2673
2673
|
}
|
|
2674
2674
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2961,13 +2961,13 @@ export declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2961
2961
|
terminate(): void;
|
|
2962
2962
|
}
|
|
2963
2963
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2964
|
+
readable: ReadableStream<R>;
|
|
2964
2965
|
/**
|
|
2965
2966
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2966
2967
|
*
|
|
2967
2968
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2968
2969
|
*/
|
|
2969
2970
|
writable: WritableStream<W>;
|
|
2970
|
-
readable: ReadableStream<R>;
|
|
2971
2971
|
}
|
|
2972
2972
|
/**
|
|
2973
2973
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/index.d.ts
CHANGED
|
@@ -2508,6 +2508,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2508
2508
|
expectedLength?: number;
|
|
2509
2509
|
}
|
|
2510
2510
|
interface StreamPipeOptions {
|
|
2511
|
+
preventAbort?: boolean;
|
|
2512
|
+
preventCancel?: boolean;
|
|
2511
2513
|
/**
|
|
2512
2514
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2513
2515
|
*
|
|
@@ -2526,8 +2528,6 @@ interface StreamPipeOptions {
|
|
|
2526
2528
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2527
2529
|
*/
|
|
2528
2530
|
preventClose?: boolean;
|
|
2529
|
-
preventAbort?: boolean;
|
|
2530
|
-
preventCancel?: boolean;
|
|
2531
2531
|
signal?: AbortSignal;
|
|
2532
2532
|
}
|
|
2533
2533
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2820,13 +2820,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2820
2820
|
terminate(): void;
|
|
2821
2821
|
}
|
|
2822
2822
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2823
|
+
readable: ReadableStream<R>;
|
|
2823
2824
|
/**
|
|
2824
2825
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2825
2826
|
*
|
|
2826
2827
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2827
2828
|
*/
|
|
2828
2829
|
writable: WritableStream<W>;
|
|
2829
|
-
readable: ReadableStream<R>;
|
|
2830
2830
|
}
|
|
2831
2831
|
/**
|
|
2832
2832
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/index.ts
CHANGED
|
@@ -2516,6 +2516,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2516
2516
|
expectedLength?: number;
|
|
2517
2517
|
}
|
|
2518
2518
|
export interface StreamPipeOptions {
|
|
2519
|
+
preventAbort?: boolean;
|
|
2520
|
+
preventCancel?: boolean;
|
|
2519
2521
|
/**
|
|
2520
2522
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2521
2523
|
*
|
|
@@ -2534,8 +2536,6 @@ export interface StreamPipeOptions {
|
|
|
2534
2536
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2535
2537
|
*/
|
|
2536
2538
|
preventClose?: boolean;
|
|
2537
|
-
preventAbort?: boolean;
|
|
2538
|
-
preventCancel?: boolean;
|
|
2539
2539
|
signal?: AbortSignal;
|
|
2540
2540
|
}
|
|
2541
2541
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2828,13 +2828,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2828
2828
|
terminate(): void;
|
|
2829
2829
|
}
|
|
2830
2830
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2831
|
+
readable: ReadableStream<R>;
|
|
2831
2832
|
/**
|
|
2832
2833
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2833
2834
|
*
|
|
2834
2835
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2835
2836
|
*/
|
|
2836
2837
|
writable: WritableStream<W>;
|
|
2837
|
-
readable: ReadableStream<R>;
|
|
2838
2838
|
}
|
|
2839
2839
|
/**
|
|
2840
2840
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/latest/index.d.ts
CHANGED
|
@@ -2545,6 +2545,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2545
2545
|
expectedLength?: number;
|
|
2546
2546
|
}
|
|
2547
2547
|
interface StreamPipeOptions {
|
|
2548
|
+
preventAbort?: boolean;
|
|
2549
|
+
preventCancel?: boolean;
|
|
2548
2550
|
/**
|
|
2549
2551
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2550
2552
|
*
|
|
@@ -2563,8 +2565,6 @@ interface StreamPipeOptions {
|
|
|
2563
2565
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2564
2566
|
*/
|
|
2565
2567
|
preventClose?: boolean;
|
|
2566
|
-
preventAbort?: boolean;
|
|
2567
|
-
preventCancel?: boolean;
|
|
2568
2568
|
signal?: AbortSignal;
|
|
2569
2569
|
}
|
|
2570
2570
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2857,13 +2857,13 @@ declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2857
2857
|
terminate(): void;
|
|
2858
2858
|
}
|
|
2859
2859
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2860
|
+
readable: ReadableStream<R>;
|
|
2860
2861
|
/**
|
|
2861
2862
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2862
2863
|
*
|
|
2863
2864
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2864
2865
|
*/
|
|
2865
2866
|
writable: WritableStream<W>;
|
|
2866
|
-
readable: ReadableStream<R>;
|
|
2867
2867
|
}
|
|
2868
2868
|
/**
|
|
2869
2869
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/latest/index.ts
CHANGED
|
@@ -2553,6 +2553,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2553
2553
|
expectedLength?: number;
|
|
2554
2554
|
}
|
|
2555
2555
|
export interface StreamPipeOptions {
|
|
2556
|
+
preventAbort?: boolean;
|
|
2557
|
+
preventCancel?: boolean;
|
|
2556
2558
|
/**
|
|
2557
2559
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2558
2560
|
*
|
|
@@ -2571,8 +2573,6 @@ export interface StreamPipeOptions {
|
|
|
2571
2573
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2572
2574
|
*/
|
|
2573
2575
|
preventClose?: boolean;
|
|
2574
|
-
preventAbort?: boolean;
|
|
2575
|
-
preventCancel?: boolean;
|
|
2576
2576
|
signal?: AbortSignal;
|
|
2577
2577
|
}
|
|
2578
2578
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2865,13 +2865,13 @@ export declare abstract class TransformStreamDefaultController<O = any> {
|
|
|
2865
2865
|
terminate(): void;
|
|
2866
2866
|
}
|
|
2867
2867
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2868
|
+
readable: ReadableStream<R>;
|
|
2868
2869
|
/**
|
|
2869
2870
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2870
2871
|
*
|
|
2871
2872
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2872
2873
|
*/
|
|
2873
2874
|
writable: WritableStream<W>;
|
|
2874
|
-
readable: ReadableStream<R>;
|
|
2875
2875
|
}
|
|
2876
2876
|
/**
|
|
2877
2877
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/oldest/index.d.ts
CHANGED
|
@@ -2508,6 +2508,8 @@ interface Transformer<I = any, O = any> {
|
|
|
2508
2508
|
expectedLength?: number;
|
|
2509
2509
|
}
|
|
2510
2510
|
interface StreamPipeOptions {
|
|
2511
|
+
preventAbort?: boolean;
|
|
2512
|
+
preventCancel?: boolean;
|
|
2511
2513
|
/**
|
|
2512
2514
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2513
2515
|
*
|
|
@@ -2526,8 +2528,6 @@ interface StreamPipeOptions {
|
|
|
2526
2528
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2527
2529
|
*/
|
|
2528
2530
|
preventClose?: boolean;
|
|
2529
|
-
preventAbort?: boolean;
|
|
2530
|
-
preventCancel?: boolean;
|
|
2531
2531
|
signal?: AbortSignal;
|
|
2532
2532
|
}
|
|
2533
2533
|
type ReadableStreamReadResult<R = any> =
|
|
@@ -2820,13 +2820,13 @@ interface TransformStreamDefaultController<O = any> {
|
|
|
2820
2820
|
terminate(): void;
|
|
2821
2821
|
}
|
|
2822
2822
|
interface ReadableWritablePair<R = any, W = any> {
|
|
2823
|
+
readable: ReadableStream<R>;
|
|
2823
2824
|
/**
|
|
2824
2825
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2825
2826
|
*
|
|
2826
2827
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2827
2828
|
*/
|
|
2828
2829
|
writable: WritableStream<W>;
|
|
2829
|
-
readable: ReadableStream<R>;
|
|
2830
2830
|
}
|
|
2831
2831
|
/**
|
|
2832
2832
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/oldest/index.ts
CHANGED
|
@@ -2516,6 +2516,8 @@ export interface Transformer<I = any, O = any> {
|
|
|
2516
2516
|
expectedLength?: number;
|
|
2517
2517
|
}
|
|
2518
2518
|
export interface StreamPipeOptions {
|
|
2519
|
+
preventAbort?: boolean;
|
|
2520
|
+
preventCancel?: boolean;
|
|
2519
2521
|
/**
|
|
2520
2522
|
* Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered.
|
|
2521
2523
|
*
|
|
@@ -2534,8 +2536,6 @@ export interface StreamPipeOptions {
|
|
|
2534
2536
|
* The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set.
|
|
2535
2537
|
*/
|
|
2536
2538
|
preventClose?: boolean;
|
|
2537
|
-
preventAbort?: boolean;
|
|
2538
|
-
preventCancel?: boolean;
|
|
2539
2539
|
signal?: AbortSignal;
|
|
2540
2540
|
}
|
|
2541
2541
|
export type ReadableStreamReadResult<R = any> =
|
|
@@ -2828,13 +2828,13 @@ export interface TransformStreamDefaultController<O = any> {
|
|
|
2828
2828
|
terminate(): void;
|
|
2829
2829
|
}
|
|
2830
2830
|
export interface ReadableWritablePair<R = any, W = any> {
|
|
2831
|
+
readable: ReadableStream<R>;
|
|
2831
2832
|
/**
|
|
2832
2833
|
* Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use.
|
|
2833
2834
|
*
|
|
2834
2835
|
* Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader.
|
|
2835
2836
|
*/
|
|
2836
2837
|
writable: WritableStream<W>;
|
|
2837
|
-
readable: ReadableStream<R>;
|
|
2838
2838
|
}
|
|
2839
2839
|
/**
|
|
2840
2840
|
* The **`WritableStream`** interface of the Streams API provides a standard abstraction for writing streaming data to a destination, known as a sink.
|
package/package.json
CHANGED