Updated the lib for the new api
This commit is contained in:
parent
9963ab79b7
commit
b1157af9cd
5 changed files with 227 additions and 93 deletions
|
@ -69,3 +69,7 @@ export function debugLog(ctx) {
|
|||
console.log(`--- ${Date()} -----------------------------------------------------------------------------`);
|
||||
console.log(JSON.stringify(ctx, null, 2));
|
||||
}
|
||||
|
||||
export function sleep(delay) {
|
||||
return new Promise((resolve) => setTimeout(resolve, delay))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue