Interface IEventSource

    • Method Detail

      • send

        <T> void send​(IEventSink sink,
                      Broadcast broadcast,
                      T payload)
        Sends an event
        Type Parameters:
        T - type of payload
        sink - object that will receive the event
        broadcast - if the object that receives the event needs to broadcast it to others, this is the type of broadcast that should be used
        payload - event payload