setImmediate

From GTA Connected
(Redirected from SetImmediate)
Jump to: navigation, search

Function Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

Timer setImmediate(function callback, [ ... ])

Description

The setImmediate function is used to add a timer with a callback function that is invoked on the next tick.

Parameters

Type Name Presence Default Value Description
function callback required n/a The scripting function to call on the next tick.
vararg ... optional n/a The arguments to send to the scripting function.

Returns

Success Returns

Type Description
Timer A handle to the timer.

Failure Returns

Type Value
null n/a

Callbacks

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Server Related

clearImmediate
clearInterval
clearTimeout
setImmediate
setInterval
setTimeout


Client Related

clearImmediate
clearInterval
clearTimeout
setImmediate
setInterval
setTimeout