Skip to content

registerCallbacks

Ben edited this page Aug 16, 2022 · 1 revision

Same as registerCallback, but takes in a table of events instead of just a single string

TRP3_API.events.listenToEvents(events, handler)

Arguments

  • events: table
  • handler: function

Returns

  • eventDispatcher
Clone this wiki locally