code: def receive_notification(self):
          
          if not self._endpoint.receive_messages():
              raise EOFError("EOF")
          self._process_input_notification()
          self._process_input_request()
docs: wait for the next incoming message.
          intended to be used when we have nothing to send but want to receive
          notifications.