parameters: (self, msg: LeosacMessage)
return_statement: return await fut
docstring: Send the ``msg`` and wait for the response.
docstring_summary: Send the ``msg`` and wait for the response.
docstring_tokens: Send the msg and wait for the response .
function: async def req_rep(self, msg: LeosacMessage) -> LeosacMessage:
          """
          Send the ``msg`` and wait for the response.
          """
          fut = await self.send(msg)
          return await fut
function_tokens: async def req_rep ( self , msg : LeosacMessage ) -> LeosacMessage : fut = await self . send ( msg ) return await fut