Method RunFunctionAsync
- Namespace
- Alternet.Scripter.TypeScript
- Assembly
- Alternet.Scripter.TypeScript.v10.dll
RunFunctionAsync(string, object[], CancellationToken)
Executes specified function asynchronously.
public Task<object> RunFunctionAsync(string function, object[] args = null, CancellationToken cancellationToken = default)
Parameters
functionstringName of function to execute.
argsobject[]Array of function's parameters.
cancellationTokenCancellationTokenCancellation token.