Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sindresorhus/p-queue
/ basic.ts
File
basic.ts
test/basic.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/* eslint-disable no-
new
*/
2
import
{test} from
'node:test'
;
3
import
assert from
'node:assert/strict'
;
4
import
EventEmitter from
'eventemitter3'
;
Callers
nothing calls this directly
Calls
11
add
Method · 0.80
onEmpty
Method · 0.80
pause
Method · 0.80
sizeBy
Method · 0.80
clear
Method · 0.80
onIdle
Method · 0.80
onSizeLessThan
Method · 0.80
onPendingZero
Method · 0.80
start
Method · 0.80
addAll
Method · 0.80
onError
Method · 0.80
Tested by
no test coverage detected