ReadonlyimportsDrops every queued fiber.
Optionaloptions: DrainOptionsWaits real time for a fiber that is not due yet. Only differs from drain under real.
Optionaloptions: DrainOptionsMilliseconds until the earliest queued fiber is due, or -1 when none are queued.
The clock the scheduler and the compiled program share.
load installs this as teavmDate.currentTimeMillis, so System.currentTimeMillis()
agrees with the scheduler about what time it is. Under virtual that makes a slept-through
interval visible to Java rather than leaving its clock frozen behind the queue.
Install as the module's
teavmAsyncimport.