* Apply a single stateful sync transform to a source. * @yields {Uint8Array[]}
(source)
| 502 | * @yields {Uint8Array[]} |
| 503 | */ |
| 504 | function* withFlushSync(source) { |
| 505 | yield* source; |
| 506 | yield null; |
| 507 | } |
| 508 | |
| 509 | function* applyStatefulSyncTransform(source, transform) { |
| 510 | const output = transform(withFlushSync(source)); |
no outgoing calls
no test coverage detected
searching dependent graphs…