MCPcopy Create free account
hub / github.com/bytebase/bytebase / sleep

Function sleep

frontend/src/utils/util.ts:255–257  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

253}
254
255export const sleep = (ms: number) => {
256 return new Promise((resolve) => setTimeout(resolve, ms));
257};
258
259// emitStorageChangedEvent is used to notify the storage changed event
260export function emitStorageChangedEvent() {

Callers 1

connectFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected