Class ScriptProcessor<Script>
Constructors
constructor
Type parameters
Parameters
Methods
continue
Parameters
Returns Promise<null | ScriptRuntime<Script>>
getRuntime
- getRuntime(channel: SociablyChannel): Promise<null | ScriptRuntime<Script>>
Parameters
Returns Promise<null | ScriptRuntime<Script>>
start
- start<StartingScript>(channel: SociablyChannel, script: StartingScript, options?: StartRuntimeOptions<ParamsOfScript<StartingScript>>): Promise<ScriptRuntime<Script>>
Type parameters
Parameters
script: StartingScript
options: StartRuntimeOptions<ParamsOfScript<StartingScript>> = ...
Returns Promise<ScriptRuntime<Script>>