next

abstract operator override fun next(): Event

Returns the next event.

The event will be removed from the stream.

Throws

in case of malformed input.