Expose internal functions used by spawn_tasks (#3166)

This allows to build a custom version of `spawn_tasks` with less
copy-paste required.

Resolves https://github.com/paritytech/polkadot-sdk/issues/2110

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Nazar Mokrynskyi
2024-02-03 22:47:05 +02:00
committed by GitHub
parent 966a886439
commit 12e5e19c20
3 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -368,7 +368,7 @@ mod waiting {
}
/// Starts RPC servers.
fn start_rpc_servers<R>(
pub fn start_rpc_servers<R>(
config: &Configuration,
gen_rpc_module: R,
rpc_id_provider: Option<Box<dyn RpcSubscriptionIdProvider>>,