MCPcopy Create free account
hub / github.com/microsoft/TypeChat / sleep

Function sleep

typescript/src/model.ts:331–333  ·  view source on GitHub ↗

* Sleeps for the given number of milliseconds.

(ms: number)

Source from the content-addressed store, hash-verified

329 * Sleeps for the given number of milliseconds.
330 */
331function sleep(ms: number): Promise<void> {
332 return new Promise((resolve) => setTimeout(resolve, ms));
333}
334
335/**
336 * Throws an exception for a missing environment variable.

Callers 1

completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…