@xylabs/delay
Advanced tools
Comparing version 3.6.7 to 3.6.8
@@ -39,8 +39,8 @@ { | ||
"dependencies": { | ||
"@xylabs/timer": "^3.6.7" | ||
"@xylabs/timer": "^3.6.8" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.15.4", | ||
"@xylabs/tsconfig": "^3.15.4", | ||
"@xylabs/tsconfig-dom": "^3.15.4", | ||
"@xylabs/ts-scripts-yarn3": "^3.15.5", | ||
"@xylabs/tsconfig": "^3.15.5", | ||
"@xylabs/tsconfig-dom": "^3.15.5", | ||
"typescript": "^5.5.4" | ||
@@ -59,4 +59,4 @@ }, | ||
"sideEffects": false, | ||
"version": "3.6.7", | ||
"version": "3.6.8", | ||
"type": "module" | ||
} |
import { setTimeoutEx } from '@xylabs/timer' | ||
export const delay = (ms: number) => { | ||
return new Promise((resolve) => setTimeoutEx(resolve, ms)) | ||
return new Promise(resolve => setTimeoutEx(resolve, ms)) | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21558
Updated@xylabs/timer@^3.6.8