tuweni / org.apache.tuweni.scuttlebutt.rpc / RPCMessage / lastMessageOrError

lastMessageOrError

fun lastMessageOrError(): Boolean (source)

Indicates if the message is either the last in the stream or an error message.

Return
Boolean: true if this message is the last one, or an error