process

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ModuleName = "process"

Variables

This section is empty.

Functions

func Enable

func Enable(registry *require.Registry)

Enable registers the process module in the given registry (legacy API without event loop)

func EnableWithEventLoop

func EnableWithEventLoop(registry *require.Registry, loop *eventloop.EventLoop, version string)

EnableWithEventLoop registers the process module in the given registry with event loop support

Types

type ProcessModule

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

ProcessModule represents the process module

func NewProcessModule

func NewProcessModule(vm *js.Runtime, loop *eventloop.EventLoop, version string) *ProcessModule

NewProcessModule creates a new process module instance

Jump to

Keyboard shortcuts

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