* Append a null flush signal after the source is exhausted. * @yields {Uint8Array[]}
(source)
| 641 | * @yields {Uint8Array[]} |
| 642 | */ |
| 643 | async function* withFlushAsync(source) { |
| 644 | yield* source; |
| 645 | yield null; |
| 646 | } |
| 647 | |
| 648 | async function* applyStatefulAsyncTransform(source, transform, options) { |
| 649 | const output = transform(withFlushAsync(source), options); |
no outgoing calls
no test coverage detected