javascript

package
v0.0.0-...-6d7b8bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Lock

func Lock()

expose mutex to serialize VM access

func RegisteredVM

func RegisteredVM(name, init string) (*otto.Otto, error)

RegisteredVM returns a JS VM. If name is not empty, it will return a shared instance.

func Unlock

func Unlock()

expose mutex to serialize VM access

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL