Table of Contents

Method EvaluateExpressionAsync

Namespace
Alternet.Scripter.IronPython
Assembly
Alternet.Scripter.IronPython.v9.dll

EvaluateExpressionAsync(string, CancellationToken)

When implemented by a class, evaluates specified expression asynchronously.

Task<object> EvaluateExpressionAsync(string expression, CancellationToken cancellationToken = default)

Parameters

expression string

Expression to execute.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<object>

An object containing return value of the expression being evaluated.