Runs a task and returns the status and result.

The methodName is a string specifying the name of a method of a subclass of WireWorkerUniverse. No callable will run that is not a regular, user-defined method of that object (no internal methods like __sizeof__).

But, see the Apache License, section 8 ("Limitation of Liability"). There might be gaping security holes in this, and you should limit who you accept connections from in any event, preferably encrypting them.

The args and kw are all pickled strings. (Be careful about allowing your methods to do arbitrary things with them!) The args and kw can be empty strings, indicating no arguments or keywords.

The response has the following status/result structure:

 'e': An exception was raised; the result is a pretty-printed
      traceback string.
 'n': Ran fine, the result was a C{None} object.
 'r': Ran fine, the result is the pickled return value of the call.
 'i': Ran fine, but the result is an iterable other than a standard
      Python one. The result is an ID string to use for your
      calls to C{GetNext}.
 'c': Ran fine, but the result is too big for a single return
      value. So you get an ID string for calls to C{GetNext}.
API Documentation for AsynQueue, generated by pydoctor at 2022-11-17 13:13:24.