Table of Contents

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 CancellationToken

Cancellation token.

Returns

Task

Return value of the script being executed.