Skip to main content

scheduleAction

Calls the supplied function as part of an action in a waiting loop (after 5 animation frames).

Signature

scheduleAction(
fn: ((...arguments: any[]) => void) | undefined,
...arguments: any[]
): void

Parameters

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