Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sindresorhus/p-queue
/ createRun
Function
createRun
test/priority-queue.ts:5–5 ·
view source on GitHub ↗
(value: string)
Source
from the content-addressed store, hash-verified
3
import
PriorityQueue from
'../source/priority-queue.js'
;
4
5
const
createRun = (value: string) =>
async
() => value;
6
7
test(
'PriorityQueue ignores dequeued items in queue operations'
, () => {
8
const
queue =
new
PriorityQueue();
Callers
1
priority-queue.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected