receiveMessage

Receives a single backend message synchronously, blocking until data is available.

Return

The parsed backend message.

Throws

if a network error occurs.

if the message is a FATAL or PANIC that ended an open session.