Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ gen
Function
gen
test/parallel/test-stream-iter-pull-async.js:44–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
43
async
function
testPullWithAbortSignal() {
44
async
function
* gen() {
45
yield [
new
Uint8Array([1])];
46
}
47
48
const
result = pull(gen(), { signal: AbortSignal.abort() });
49
await
assert.rejects(
Callers
2
testPullWithAbortSignal
Function · 0.70
testPullWithSyncSource
Function · 0.70
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected