next
Returns the next event.
The event will be removed from the stream.
Throws
in case of malformed input.
in case no next event is available.
Returns the next event.
The event will be removed from the stream.
in case of malformed input.
in case no next event is available.