I run on the remote Python interpreter to run a runner from there, accepting commands from your RemoteRunner via run, done and cancel and sending the results and iterations to it.

Method setup Undocumented
Method shutdown Undocumented
Method run No summary
Method getNext Gets the next chunk of data to have been written to the Writable for the run identified by ID.
Method done Gets the runtime and number of points done in the run and removes my references to it in my pendingRuns dict.
Method cancel Cancels a pending run ID. Nothing is returned, and no exception is raised for calling with reference to an unknown or already canceled/completed run.

Inherited from WireWorkerUniverse:

Class Method check Undocumented
Method __init__ Undocumented
Method runTask No summary
def setup(self, N_values, steepness):
Undocumented
@defer.inlineCallbacks
def shutdown(self):
Undocumented
def run(self, Nx, cr, ci, crPM, ciPM, requester=None):

Does an image-generation run for the specified parameters, storing a Deferred dRun to the result in a namedtuple along with a reference fh to a new Writable that will have the image data written to it and a Deferred dCancel that can have its callback fired to cancel the run.

ReturnsA unique string ID identifying the run.
def getNext(self, ID):

Gets the next chunk of data to have been written to the Writable for the run identified by ID.

ReturnsA Deferred that fires with the data chunk when it is received, or an immediate None object if the run isn't pending.
def done(self, ID):

Gets the runtime and number of points done in the run and removes my references to it in my pendingRuns dict.

ReturnsA Deferred that fires with the runtime and number of points when the run is done, or an immediate None object if there never was any such run or this method was called with this ID already.
def cancel(self, ID):

Cancels a pending run ID. Nothing is returned, and no exception is raised for calling with reference to an unknown or already canceled/completed run.

API Documentation for AsynQueue, generated by pydoctor at 2022-11-17 13:13:24.