mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-11 15:40:54 +00:00
refactor: specify types for msg_forwarder and msg in ValidationRequest and related methods
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
This commit is contained in:
@ -233,7 +233,7 @@ class Pubsub(Service, IPubsub):
|
||||
await self.validation_throttler.start(nursery)
|
||||
# Keep nursery alive until service stops
|
||||
while self.manager.is_running:
|
||||
await trio.sleep(1)
|
||||
await self.manager.wait_finished()
|
||||
|
||||
@property
|
||||
def my_id(self) -> ID:
|
||||
|
||||
Reference in New Issue
Block a user