mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-10 15:10:54 +00:00
drop async-service dep and copy relevant code into a local async_service
tool, updated for modern handling of ExceptionGroup
This commit is contained in:
15
libp2p/tools/async_service/__init__.py
Normal file
15
libp2p/tools/async_service/__init__.py
Normal file
@ -0,0 +1,15 @@
|
||||
from .abc import (
|
||||
ServiceAPI,
|
||||
)
|
||||
from .base import (
|
||||
Service,
|
||||
as_service,
|
||||
)
|
||||
from .exceptions import (
|
||||
DaemonTaskExit,
|
||||
LifecycleError,
|
||||
)
|
||||
from .trio_service import (
|
||||
TrioManager,
|
||||
background_trio_service,
|
||||
)
|
||||
Reference in New Issue
Block a user