Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
test-stream-some-find-every.mjs
File · 0.85
Calls
1
setTimeout
Function · 0.90
Tested by
no test coverage detected