Method RunFunctionAsync
- Namespace
- Alternet.Scripter.IronPython
- Assembly
- Alternet.Scripter.IronPython.v9.dll
RunFunctionAsync(string, object[], CancellationToken)
Executes specified function asynchronously.
public virtual Task<object> RunFunctionAsync(string function, object[] args = null, CancellationToken cancellationToken = default)
Parameters
function
stringName of function to execute.
args
object[]Array of function's parameters.
cancellationToken
CancellationTokenCancellation token.