Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RoomFixedUpdateEvent<RoomType>

Emitted when the room completes a fixed update cycle. (Roughly 20ms)

Note that this is called very often, and if the event takes too longer, that is, too long so that the next fixed update is called before it has finished, then it will cascade and eventually crash due to a memory leak.

Type parameters

  • RoomType: Hostable

Hierarchy

Implements

Index

Properties

Methods

Constructors

Properties

Static eventName

eventName: "room.fixedupdate" = ...

canceled

canceled: boolean

Readonly delta

delta: number

eventName

eventName: "room.fixedupdate" = ...

Readonly room

room: RoomType

The room or client that the event came from.

Readonly stream

Methods

cancel

  • cancel(): void

Constructors

constructor

Generated using TypeDoc