Versions in this module Expand all Collapse all v1 v1.5.0 Jan 22, 2026 v1.4.0 Jan 21, 2026 Changes in this version + type EventLoop struct + OnUnhandledRejection RejectionHandler + VM *goja.Runtime + func NewEventLoop(vm *goja.Runtime) *EventLoop + func (el *EventLoop) Context() context.Context + func (el *EventLoop) CreatePromise() (promise *goja.Object, resolve func(interface{}), reject func(interface{})) + func (el *EventLoop) RunOnLoop(f func()) + func (el *EventLoop) SetAutoStop(enable bool) + func (el *EventLoop) Shutdown(timeout context.Context) error + func (el *EventLoop) Start() + func (el *EventLoop) Stop() + func (el *EventLoop) WGAdd(n int) + func (el *EventLoop) WGDone() + type RejectionHandler func(err error)