Table of Contents

Method EvaluateExpressionsAsync

Namespace
Alternet.Scripter.Debugger.TypeScript
Assembly
Alternet.Scripter.TypeScript.Debugger.v9.dll

EvaluateExpressionsAsync(IEnumerable<ExpressionEvaluationRequest>, CancellationToken)

Evaluates an expression based on the current stack frame. If the expression can be parsed but not evaluated, an object is returned but will not contain a valid value.

public Task<IEnumerable<ExpressionEvaluationResult>> EvaluateExpressionsAsync(IEnumerable<ExpressionEvaluationRequest> requests, CancellationToken cancellationToken = default)

Parameters

requests IEnumerable<ExpressionEvaluationRequest>

List of data for expression evaluation request.

cancellationToken CancellationToken

Token allowing cancellation of request.

Returns

Task<IEnumerable<ExpressionEvaluationResult>>

ExpressionEvaluationResult contains data of evaluated expression.