Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ wait
Function
wait
packages/socket.io-client/test/connection.ts:642–645 ·
view source on GitHub ↗
(delay: number)
Source
from the content-addressed store, hash-verified
640
let
reconnected!: boolean;
641
const
realTimeout = setTimeout;
642
const
wait = (delay: number) =>
643
new
Promise((resolve) => {
644
realTimeout(resolve, delay);
645
});
646
647
beforeEach(() => {
648
options = {
Callers
1
connection.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected