const interval = 0.01; const now = performance.now(); console.time("Slept"); Bun.sleepSync(interval); const elapsed = performance.now() - now; if (elapsed < interval) { throw new Error("Didn't sleep"); } console.timeEnd("Slept"); auth.js?h=dylan/github-dependencies' type='application/atom+xml'/>
![]() |
index : bun | |
Unnamed repository; edit this file 'description' to name the repository. |
aboutsummaryrefslogtreecommitdiff |