VisMainThread
Bun

variable

isMainThread

const isMainThread: boolean

Is the current global scope the main thread?