getEventStreamForSubscription method

Stream<EventRecord> getEventStreamForSubscription(
  1. String subscriptionId
)

Gets the stream of events for a specific subscription.

Platform implementations can override this to route events per subscription. The default implementation falls back to the shared stream.

Implementation

Stream<EventRecord> getEventStreamForSubscription(String subscriptionId) {
  return getEventStream();
}