Allow other entities than PASEOS to use event loop #48
Labels
enhancement
New feature or request
tests
Anything related to the tests
user-facing
Anything that users can interact with
Feature
Desired Behavior / Functionality
Current functionality: PASEOS decides when the async event loop is started and shut down. In particular, when an activity is performed, the async event loop is started and when the activity is closed, the event loop is too.
However, there may be other entities that also need access to the event loop, e.g., the communications layer that requires an event loop to be running in the background all the time. There are multiple issues with the current way of using async in PASEOS:
Desired functionality: External entities should be able to access the event loop.
Here is a minimal example to reproduce the error:
What Needs to Be Done
Discuss potential changes in the architecture to allow for external usage of the event loop.
How Can It Be Tested
Via the above code for example and also via the already existing tests.
The text was updated successfully, but these errors were encountered: