Method RunFunctionAsync
- Namespace
- Alternet.Scripter.IronPython
- Assembly
- Alternet.Scripter.IronPython.v10.dll
RunFunctionAsync(string, object[], CancellationToken)
When implemented by a class, executes specified function asynchronously.
Task<object> RunFunctionAsync(string functionName, object[] args = null, CancellationToken cancellationToken = default)
Parameters
functionNamestringName of function to execute.
argsobject[]Array of function's parameters.
cancellationTokenCancellationTokenCancellation token.