client/network: Make NetworkService::set_priority_group async (#7352)

As done with `NetworkService::{add_to,remove_from}_priority_group`, make
`NetworkService::set_priority_group` async as well. This future-proofs
the API should we ever decide to use a bounded channel between
`NetworkService` and `NetworkWorker`.
This commit is contained in:
Max Inden
2020-10-22 11:15:39 +02:00
committed by GitHub
parent f450a6d74c
commit 0fcf9d6c60
5 changed files with 20 additions and 10 deletions
+1
View File
@@ -6309,6 +6309,7 @@ dependencies = [
name = "sc-authority-discovery"
version = "0.8.0"
dependencies = [
"async-trait",
"bytes 0.5.6",
"derive_more",
"either",