MCPcopy Create free account
hub / github.com/cn-docs/vueuse / p2

Function p2

packages/core/useAsyncQueue/index.test.ts:13–19  ·  view source on GitHub ↗
(result: number)

Source from the content-addressed store, hash-verified

11 }
12
13 const p2 = (result: number) => {
14 return new Promise((resolve) => {
15 setTimeout(() => {
16 resolve(1000 + result)
17 }, 20)
18 })
19 }
20
21 const p3 = (result: number) => {
22 return new Promise((resolve) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected