MCPcopy
hub / github.com/brianc/node-postgres / _destroy

Method _destroy

packages/pg-query-stream/src/index.ts:55–59  ·  view source on GitHub ↗
(_err: Error, cb: Function)

Source from the content-addressed store, hash-verified

53 }
54
55 public _destroy(_err: Error, cb: Function) {
56 this.cursor.close((err?: Error) => {
57 cb(err || _err)
58 })
59 }
60
61 // https://nodejs.org/api/stream.html#stream_readable_read_size_1
62 public _read(size: number) {

Callers

nothing calls this directly

Calls 2

cbFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected