runtime

package
v0.0.0-...-8dc2fe4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package runtime implements the optional JavaScript automation extension.

Index

Constants

View Source
const Language automation.Language = "javascript"

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Timeout     time.Duration
	MemoryLimit uint64
}

func New

func New() *Engine

func (*Engine) Execute

func (e *Engine) Execute(ctx context.Context, source string, input automation.Input) (automation.Outcome, error)

func (*Engine) Language

func (e *Engine) Language() automation.Language

Directories

Path Synopsis
Package qjs keeps Gateway's JSON-in/JSON-out interface to QuickJS-NG.
Package qjs keeps Gateway's JSON-in/JSON-out interface to QuickJS-NG.

Jump to

Keyboard shortcuts

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