Function asyncio.run creates a new event loop each time it's called and executes coroutine in that new loop. However, we want all our coroutines to be executed from the same event loop, so we acquire a loop when lacre.daemon starts and then use it to execute them later. See: Disroot/gpg-lacre#109 |
||
---|---|---|
.. | ||
__init__.py | ||
config.py | ||
core.py | ||
daemon.py | ||
keyring.py | ||
mailop.py | ||
text.py |