- fix
AsyncioServiceMixin
finalization. Background tasks can be in statedone
, but callback can be not called yet
- add
BlockingServiceMixin
with subset of functionality fromServiceMixin
that can be used in non-async code - add
AsyncioServiceMixin
as an alias toServiceMixin
ServiceMixin
is now deprecated and will be removed in 1.0.0- add mypy type hints
- minimum python version is now 3.11
- prevent multiple calls to
set_exception
- remove done tasks from tasks set
- stop dependencies if some of them raised exception on start
- add support for sequential, parallel and mixed starts/stops for dependencies
- add python 3.9 support
- add dependent counter to prevent early stops
- add python 3.6 support
- remove unnecessary dunder calls
- proper background tasks cancellation
- make
add_task
plain function
- initial implementation