Method RunAsync
RunAsync(CancellationToken)
Executes script asynchronously starting from the main entry point.
public virtual Task RunAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenCancellation token.
Returns
- Task
Return value of the script being executed.