Options
All
  • Public
  • Public/Protected
  • All
Menu

WRT Run Context.

Hierarchy

  • WRTRunContext

Index

Properties

boxedEnv

boxedEnv: {}

WRT Box environment.

Type declaration

cachedModules

cachedModules: {}

Cached WRT modules.

Type declaration

cwd

cwd: string

Current working directory.

envType

envType: "normal" | "terminal" | "kernel" | "other"

Target environment type.

launchCommand

launchCommand: string

Launch command used.

modulePath

modulePath: string

Module path.

scriptDir

scriptDir: string

Script directory .

Methods

include

  • Include helper function. Added by WRT automatically.

    Parameters

    Returns Promise<any>

require_check

  • require_check(features: string[], options: ReqCheckParams): Promise<boolean>
  • System requirements checking function

    Parameters

    • features: string[]

      The features to check for.

    • options: ReqCheckParams

      The options to set.

    Returns Promise<boolean>

Generated using TypeDoc