Mesaging system - Capsize-Games/airunner GitHub Wiki
Backends
The messaging system uses Pyside6 signals and slots as its default backend. If you'd prefer to use RabbitMQ you can override the default backend by setting the AIRUNNER_MESSAGE_BACKEND
environment variable:
AIRUNNER_MESSAGE_BACKEND={"type":"rabbitmq","url":"localhost","port":5672,"username":"guest","password":"guest"}
Extending backends
See the messaging/backends/rabbitmq_backend.py
file and the mediator_mixin.py
file to see how the backend is being instantiated.
Use those examples to create a custom backend for your own use case.