peekEvent

abstract fun peekEvent(): Event(source)

Return the next event, but do not delete it from the stream.

Throws

in case of malformed input.

in case no next event is available.