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