Method EvaluateExpressionAsync
- Namespace
- Alternet.Scripter.TypeScript
- Assembly
- Alternet.Scripter.TypeScript.v9.dll
EvaluateExpressionAsync(string, CancellationToken)
Evaluates specified expression asynchronously.
public Task<object> EvaluateExpressionAsync(string expression, CancellationToken cancellationToken = default)
Parameters
expression
stringExpression to execute.
cancellationToken
CancellationTokenCancellation token.