Control Reference

CallbackFuture


class py_actors.control.CallbackFuture

A future that can be used to return the result(s) of an actor’s work

callback(data)

Callback that receives the data from an actor. Should be called in the actor’s on_complete method

done()

Method for extracting data from the callback. Should be called in the ‘main’ code function

DoneMessage


class py_actors.control.DoneMessage

Message type indicating to an actor that it is done processing work

FlushMessage


class py_actors.control.FlushMessage

Message type indicating to a batch actor that it should flush all current batches