Interface IEventSource

Hierarchy

Methods

  • Listen to the bus asynchronously but without triggering event acknowledgement. Will only be called for events processed by this node.

    Parameters

    • handlerFn: ((event: IEvent<unknown>) => void)
        • (event: IEvent<unknown>): void
        • Parameters

          Returns void

    Returns string

  • Subscribe to the bus. Should only be called ONCE by the relevant bus as will trigger acknowledgements.

    Parameters

    • handlerFn: ((event: IEvent<unknown>) => void)
        • (event: IEvent<unknown>): void
        • Parameters

          Returns void

    Returns string

Generated using TypeDoc