Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subquery/subql
/ takeAll
Method
takeAll
packages/node-core/src/utils/queues/queue.ts:62–67 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
60
}
61
62
takeAll(): T[] {
63
const
result = this.items;
64
65
this.items = [];
66
return
result;
67
}
68
69
flush(): void {
70
this.takeAll();
Callers
4
flush
Method · 0.95
flush
Method · 0.80
clear
Method · 0.80
flushSyncedBlocks
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected