def next_message(self):
        msg = self._session.next_message()
        if msg:
            return walk(self._from_nvim, msg)
Block until a message(request or notification) is available.
dataset/ETHPy150Open neovim/python-client/neovim/api/nvim.py/Nvim.next_message