Function useEventReceived

  • Registers a handler to run whenever the event is received from the bus

    Parameters

    • event: JDEvent

      event to listen

    • handler: ((event: JDEvent) => void)

      handler, not part of depenency list

        • (event: JDEvent): void
        • Parameters

          • event: JDEvent

          Returns void

    • Optional deps: DependencyList

    Returns void

Generated using TypeDoc