Class: ScriptContext

PodJS. ScriptContext

Contains a reference to the environment and resource the script is bound to.

new ScriptContext(environment, resource)

Constructs a new ScriptContext
Parameters:
Name Type Description
environment PodJS The environment the script is bound to
resource PodJS.Pod#Resource The resource the script is bound to
Source:

Members

environment :PodJS

The environment the script is bound to
Type:
Source:

resource :PodJS.Pod#Resource

The resource the script is bound to
Type:
Source: