chore: Add sleep before Slack notification
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*
|
||||
* @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
|
||||
*/
|
||||
export function timeout(ms = 1) {
|
||||
export function sleep(ms = 1) {
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user