Options
All
  • Public
  • Public/Protected
  • All
Menu

Node implementation of a BaseRuntime.

Hierarchy

  • NodeRuntime

Implements

Index

Constructors

constructor

  • new NodeRuntime(stdin?: Readable, stdout?: Writable, stderr?: Writable, configParameters?: ConfigParameters, pluginManager?: PluginManager<string>, runtimeContext?: RuntimeContext): NodeRuntime
  • Constructor.

    Parameters

    • Optional stdin: Readable

      an optional Readable stream to use. If not specified process.stdin will be used.

    • Optional stdout: Writable

      an optional Writable stream to use. If not specified process.stdout will be used.

    • Optional stderr: Writable

      an optional Writable stream to use. If not specified process.stderr will be used.

    • Optional configParameters: ConfigParameters

      an optional [[ConfigParameters]] object used to provide configuration to the runtime. If not specified an empty object will be used.

    • Optional pluginManager: PluginManager<string>

      an optional esm-dynamic-plugins PluginManager implementation to use. If not specified a NodePluginManager instance will be used.

    • Optional runtimeContext: RuntimeContext

      an optional [[RuntimeContext]] to use. If not specified a NodeRuntimeContext instance will be used.

    Returns NodeRuntime

Properties

Readonly configParameters

configParameters: ConfigParameters

Protected Readonly log

log: Debugger = debug('NodeRuntime')

Readonly pluginManager

pluginManager: PluginManager<string>

Readonly runtimeContext

runtimeContext: RuntimeContext

Readonly stderr

stderr: Writable

Readonly stdin

stdin: Readable

Readonly stdout

stdout: Writable