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