QuickBEAM.VM.Runtime.Web.Timers (QuickBEAM v0.10.9)

Copy Markdown View Source

setTimeout, clearTimeout, setInterval, clearInterval builtins for BEAM mode.

Summary

Functions

Returns the JavaScript global bindings provided by this module.

Runs due timers from the process-local timer queue.

Adds a timeout callback to the process-local timer queue.

Returns milliseconds until the next queued timer should run.

Functions

bindings()

Returns the JavaScript global bindings provided by this module.

drain_timers()

Runs due timers from the process-local timer queue.

enqueue_timeout(callback, delay_ms)

Adds a timeout callback to the process-local timer queue.

next_timer_delay_ms()

Returns milliseconds until the next queued timer should run.