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