FsleepSync
Bun

function

sleepSync

function sleepSync(
ms: number
): void;

Sleep the thread for a given number of milliseconds

This is a blocking function.

Internally, it calls nanosleep(2)