subscribeToEvents method
Subscribes to real-time events from the event log.
filter specifies the criteria for events to receive.
Returns a unique subscription ID that can be used to cancel the subscription.
Use getEventStream to receive the events.
Throws EventLogException if the subscription fails.
Implementation
Future<String> subscribeToEvents(EventFilter filter) {
throw UnimplementedError('subscribeToEvents() has not been implemented.');
}