Deno.sleepSync
UNSTABLE: new API, yet to be vetted.
SleepSync puts the main thread to sleep synchronously for a given amount of time in milliseconds.
Deno.sleepSync(10);
function sleepSync(millis: number): void;
UNSTABLE: new API, yet to be vetted.
SleepSync puts the main thread to sleep synchronously for a given amount of time in milliseconds.
Deno.sleepSync(10);