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
Name | Type | Optional | Description |
---|---|---|---|
fn | ((...arguments: any[]) => void) | undefined | No | Specifies the function to execute. |
arguments | any[] | Yes | Optional arguments which should be passed to the callee. |