EventGatherer
Orchestrates the reception of events from remote sources, coordinating between historical (pending) and real-time (live) event delivery modes.
In environments with async notifications enabled, it emits only real-time events from WebSocket. In legacy environments, it first fetches pending events and then transitions to live updates.
The current mode of delivery (PENDING or LIVE) is tracked via currentSource.
Inheritors
Functions
Link copied to clipboard
Emits all unprocessed events stored locally, and updates the currentSource depending on:
Link copied to clipboard
Establishes a WebSocket connection to start receiving real-time events.