onEvent abstract method

Stream<Event> onEvent(
  1. String streamId
)

Returns the stream for a given stream id.

This is not a part of the spec, but is needed for both the client and server to get access to the real event streams.

Implementation

Stream<Event> onEvent(String streamId);