MCPcopy Index your code
hub / github.com/nodejs/node / withFlushSync

Function withFlushSync

lib/internal/streams/iter/pull.js:504–507  ·  view source on GitHub ↗

* Apply a single stateful sync transform to a source. * @yields {Uint8Array[]}

(source)

Source from the content-addressed store, hash-verified

502 * @yields {Uint8Array[]}
503 */
504function* withFlushSync(source) {
505 yield* source;
506 yield null;
507}
508
509function* applyStatefulSyncTransform(source, transform) {
510 const output = transform(withFlushSync(source));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…