The ArbiterΒΆ

To use actors in pulsar you need to start the Arbiter, a very special actor which controls the life of all actors spawned during the execution of your code.

The obtain the arbiter:

>>> from pulsar import arbiter
>>> a = arbiter()
>>> a.is_running()
False

Note that the arbiter is a singleton, therefore calling arbiter() multiple times always return the same object.

To run the arbiter:

>>> a.start()

This command will start the arbiter event loop, and therefore no more inputs are read from the command line!