Skip to main content

callAsync

Calls the supplied function asynchronous.

Signature

callAsync<T>(fn: (...arguments: any[]) => T | void, ...arguments: any[]): void

Parameters

NameTypeOptionalDescription
fn(...arguments: any[]) => T | voidNoSpecifies the function to execute.
argumentsany[]YesOptional arguments which should be passed to the callee.