MCPcopy
hub / github.com/vuejs/composition-api / timeout

Function timeout

test/v3/runtime-core/apiAsyncComponent.spec.ts:28–28  ·  view source on GitHub ↗
(n: number = 0)

Source from the content-addressed store, hash-verified

26})
27
28const timeout = (n: number = 0) => new Promise((r) => setTimeout(r, n))
29
30describe('api: defineAsyncComponent', () => {
31 test('simple usage', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…