next

abstract operator override fun next(): Event(source)

Returns the next event.

The event will be removed from the stream.

Throws

in case of malformed input.