RxJS Subject for publishing delta events to subscribers
Logger instance for debugging and error tracking
Singleton instance
Retrieves the singleton instance of DigitalEventFactory. Creates the instance if it doesn't exist.
DigitalEventFactory singleton instance
Main coordinator method - parses raw WebSocket event and publishes delta. This is the primary entry point for event processing.
Raw WebSocket event data
Generated using TypeDoc
DigitalEventFactory - Singleton factory for parsing and publishing delta events.
This factory intercepts WebSocket events, extracts only the changed fields (delta), and publishes lightweight payloads to subscribers through an RxJS Subject.
// Get factory instance const factory = DigitalEventFactory.instance;
// Subscribe to delta events factory.deltaEventSubject.subscribe(deltaEvent => { console.log('Received delta event:', deltaEvent); });
// Parse and publish a WebSocket event factory.parseAndPublishDeltaEvent(rawWebSocketEvent);