Method RunAsync
- Namespace
- Alternet.Scripter.TypeScript
- Assembly
- Alternet.Scripter.TypeScript.v9.dll
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.