import { sleepSync } from "https://deno.land/x/delayed@2.1.1/src/sleep.ts";
Synchronous sleep during the specified delay.
Examples
Sync sleep
Sync sleep
sleepSync(200)
//wait 200ms
Parameters
delay: ms
- The amount of time to sleep in milliseconds.