Help us shape the future of Go! Take the 2026 Go Developer Survey

job

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// StatusCreate Job status: create
	StatusCreate uint8 = iota
	// StatusRunning Job status: running
	StatusRunning
	// StatusDone Job status: done
	StatusDone
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	// contains filtered or unexported fields
}

Job Job struct

type Object

type Object struct{}

Object Javascript API

func New

func New() *Object

New create a new FS Object

func (*Object) ExportFunction

func (obj *Object) ExportFunction(iso *v8go.Isolate) *v8go.FunctionTemplate

ExportFunction Export as a javascript FS function var job = new Job(processName, args...);

func (*Object) ExportObject

func (obj *Object) ExportObject(iso *v8go.Isolate) *v8go.ObjectTemplate

ExportObject Export as a FS Object

Jump to

Keyboard shortcuts

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