agsamantha/node_modules/langchain/dist/util/time.d.ts

7 lines
242 B
TypeScript
Raw Normal View History

2024-10-02 15:15:21 -05:00
/**
* Sleep for a given amount of time.
* @param ms - The number of milliseconds to sleep for. Defaults to 1000.
* @returns A promise that resolves when the sleep is complete.
*/
export declare function sleep(ms?: number): Promise<void>;