MCPcopy
hub / github.com/microsoft/playwright / _destroy

Method _destroy

packages/utils/nodePlatform.ts:146–150  ·  view source on GitHub ↗
(error: Error | null, callback: (error: Error | null | undefined) => void)

Source from the content-addressed store, hash-verified

144 }
145
146 override _destroy(error: Error | null, callback: (error: Error | null | undefined) => void): void {
147 // Stream might be destroyed after the connection was closed.
148 this._channel.close().catch(e => null);
149 super._destroy(error, callback);
150 }
151}
152
153class WritableStreamImpl extends Writable {

Callers

nothing calls this directly

Calls 2

catchMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected