Initial commit

This commit is contained in:
Jeff Dickey 2023-01-14 08:11:40 -06:00 committed by GitHub
commit 35f6329d75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 17897 additions and 0 deletions

9
src/wait.ts Normal file
View file

@ -0,0 +1,9 @@
export async function wait(milliseconds: number): Promise<string> {
return new Promise(resolve => {
if (isNaN(milliseconds)) {
throw new Error('milliseconds not a number')
}
setTimeout(() => resolve('done!'), milliseconds)
})
}