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

Function checkDestroyed

test/parallel/test-stream-some-find-every.mjs:61–64  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

59
60{
61 async function checkDestroyed(stream) {
62 await setTimeout();
63 assert.strictEqual(stream.destroyed, true);
64 }
65
66 {
67 // Some, find, and every short circuit

Callers 1

Calls 1

setTimeoutFunction · 0.90

Tested by

no test coverage detected