Versions in this module Expand all Collapse all v0 v0.8.1 Sep 14, 2025 v0.8.0 Sep 14, 2025 Changes in this version + type EventLoop struct + func NewEventLoop(opts ...Option) *EventLoop + func (loop *EventLoop) ClearInterval(i *Interval) + func (loop *EventLoop) ClearTimeout(t *Timer) + func (loop *EventLoop) Run(fn func(*goja.Runtime)) + func (loop *EventLoop) RunOnLoop(fn func(*goja.Runtime)) + func (loop *EventLoop) SetInterval(fn func(*goja.Runtime), timeout time.Duration) *Interval + func (loop *EventLoop) SetTimeout(fn func(*goja.Runtime), timeout time.Duration) *Timer + func (loop *EventLoop) Start() + func (loop *EventLoop) Stop() + type Interval struct + type Option func(*EventLoop) + func EnableConsole(enableConsole bool) Option + type Timer struct