aimpress-chatbot/node_modules/botbuilder-stdlib/lib/delay.d.ts
“SamoilenkoVadym” 55445dbc86
Some checks failed
Build and deploy Node.js app to Azure Web App - ChatBot2222 / build (push) Has been cancelled
Build and deploy Node.js app to Azure Web App - ChatBot2222 / deploy (push) Has been cancelled
Deploy bot to Azure
2025-04-27 19:55:19 +01:00

17 lines
No EOL
746 B
TypeScript

/**
* Delay resolution of `promise`
*
* @template T type that promise will yield, defaults to `void`
* @param {Promise<T>} promise an optional promise to delay
* @param {number} milliseconds how long to delay
* @returns {Promise<T>} a promise that will resolve to the result of `promise`, delayed by `milliseconds`.
*/
export declare function delay<T>(promise: Promise<T>, milliseconds: number): Promise<T>;
/**
* Return a promise that resolves after `milliseconds`.
*
* @param {number} milliseconds how long to delay
* @returns {Promise<void>} a promise that will resolve to the result of `promise`, delayed by `milliseconds`.
*/
export declare function delay(milliseconds: number): Promise<void>;
//# sourceMappingURL=delay.d.ts.map