MCPcopy
hub / github.com/mongodb/node-mongodb-native / _read

Method _read

src/gridfs/download.ts:167–170  ·  view source on GitHub ↗

* Reads from the cursor and pushes to the stream. * Private Impl, do not call directly * @internal

()

Source from the content-addressed store, hash-verified

165 * @internal
166 */
167 override _read(): void {
168 if (this.destroyed) return;
169 waitForFile(this, () => doRead(this));
170 }
171
172 /**
173 * Sets the 0-based offset in bytes to start streaming from. Throws

Callers

nothing calls this directly

Calls 2

waitForFileFunction · 0.85
doReadFunction · 0.85

Tested by

no test coverage detected