parameters: (c, id, methodname, args=(), kwds={})
docstring: Send a message to manager using connection `c` and return response
docstring_summary: Send a message to manager using connection `c` and return response
docstring_tokens: Send a message to manager using connection c and return response
function: def dispatch(c, id, methodname, args=(), kwds={}):
      '''
      Send a message to manager using connection `c` and return response
      '''
      c.send((id, methodname, args, kwds))
      kind, result = c.recv()
      if kind == '#RETURN':
          return result
      raise convert_to_error(kind, result)
function_tokens: def dispatch ( c , id , methodname , args = ( ) , kwds = { } ) : c . send ( ( id , methodname , args , kwds ) ) kind , result = c . recv ( ) if kind == '#RETURN' : return result raise convert_to_error ( kind , result )