删除example文件
Continuous Integration / GitHub Actions Test (push) Failing after 6s Details

This commit is contained in:
walker 2024-03-18 10:26:44 +08:00
parent 9184df603f
commit b308ef4afc
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
/**
* Wait for a number of milliseconds.
* @param milliseconds The number of milliseconds to wait.
* @returns {Promise<string>} Resolves with 'done!' after the wait is over.
*/
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)
})
}