![]() To be able to handle pubsub events (namely through db_change_callback) the nb_api forced the user to call the process_changes() method which is a blocking loop. This is unusable for applications that do other things or have event loops of their own. In this patch this logic was moved to the local_controller as it is specific to this use-case, and now the nb_api exposes a register_db_change_callback method for this use case. As a result of this change, there is no need to use the is_external_app flag, as all it does is makes sure the subscriber is not initialized, which happens now if the register_db_change_callback is not called. Change-Id: I2b02fde8018f0ac209175beadf75bbb20a6480d6 |
||
---|---|---|
.. | ||
eventlet | ||
__init__.py | ||
df_skydive_service.py |