function setImmediate
Supported only in the v8 engine. Introduced in Max v9.2.0.
Schedules a callback to run on the next scheduler tick.
export declare function setImmediate(
callback: (...args: any[]) => void,
...args: any[]
): number;
| Name | Type | Description |
|---|---|---|
| callback | (...args: any[]) => void | the function to run |
| args | any[] | additional arguments forwarded to the callback |
| Return Value | number | a numeric timer ID for use with clearImmediate() |