Versions in this module Expand all Collapse all v0 v0.1.0 Aug 31, 2026 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)) bool + 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) StartInForeground() + func (loop *EventLoop) Stop() int + func (loop *EventLoop) StopNoWait() + func (loop *EventLoop) Terminate() + type Immediate struct + type Interval struct + type Option func(*EventLoop) + func EnableConsole(enableConsole bool) Option + func WithRegistry(registry *require.Registry) Option + type Timer struct