Method RunAsync
RunAsync(CancellationToken)
When implemented by a class, executes script asynchronously starting from the main entry point.
Task RunAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenCancellation token.
Returns
- Task
Return value of the script being executed.