Represents a nested OtterScript which can be run from within an operation.
Name | Description | |
---|---|---|
CompiledScript |
Gets the compiled script. |
Name | Description | |
---|---|---|
ExecuteAsync(System.Threading.CancellationToken cancellationToken) | ||
GetProgress |
Returns the current progress of the nested script execution. |
|
SetAdditionalVariables(System.Collections.Generic.IReadOnlyDictionary<Inedo.ExecutionEngine.RuntimeVariableName, Inedo.ExecutionEngine.Executer.IRuntimeVariable> variables) |
Once initialized, this instance contains a parsed but not yet run OtterScript. Additional variables can be inserted into the context by calling Inedo.Extensibility.Operations.INestedOtterScript.SetAdditionalVariables(System.Collections.Generic.IReadOnlyDictionary{Inedo.ExecutionEngine.RuntimeVariableName,Inedo.ExecutionEngine.Executer.IRuntimeVariable}) before the script is executed.