MCPcopy
hub / github.com/socketio/socket.io / sleep

Function sleep

packages/socket.io-adapter/test/util.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17export function sleep() {
18 return new Promise<void>((resolve) => process.nextTick(resolve));
19}

Callers 1

cluster-adapter.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected