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 + var Types []byte + func BindMutex(vm *goja.Runtime, mu *sync.RWMutex, el *eventloop.EventLoop) goja.Value + func Register(vm *goja.Runtime, el *eventloop.EventLoop) + type AsyncMutex struct + func NewAsyncMutex(mu *sync.RWMutex, el *eventloop.EventLoop) *AsyncMutex + func (m *AsyncMutex) Lock(vm *goja.Runtime) goja.Value + func (m *AsyncMutex) RLock(vm *goja.Runtime) goja.Value + func (m *AsyncMutex) RUnlock() + func (m *AsyncMutex) Unlock() + type Module struct + func (m *Module) Sleep(call goja.FunctionCall) goja.Value + func (m *Module) Spawn(call goja.FunctionCall) goja.Value