UpdatableScheduler
since: 3.1.1b127
Index
Functions
createNewScope
Parameters
name: string
Returns UpdatableSchedulerScope
createOnClient
Creates updatable of given object on client, which will update every local tick.
Parameters
updatable: IUpdatable
Returns UpdatableHandle
createOnServer
Creates updatable of given object on server, which will update every tick.
Parameters
updatable: IUpdatable
Returns UpdatableHandle
destroyRawHandle
Parameters
handle: number
Returns boolean
getByRawHandle
Returns IUpdatable
getMainClientScope
Returns UpdatableSchedulerScope
getMainServerScope
Returns UpdatableSchedulerScope
getScopeByRawHandle
Returns UpdatableSchedulerScope
isHandleAlive
Parameters
handle: number
Returns boolean
scheduleByRawHandle
Parameters
handle: number
tickAt: number
tickUntil: number
default
-1
Returns void
setRecurringScheduleByRawHandle
Parameters
handle: number
tickAt: number
tickUntil: number
default
-1
Returns void
Experimental module used to create and manage scoped updatables. Updatables provide the proper way to manage objects that update their state every tick. Updatables may not be notified every tick, if there are too many, to avoid user interface freezes.