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 MokrynskyiandBastian Köcher authored and GitHub committed 2024-02-03 20:47:05 +00:00
1 parent 966a886439
commit 12e5e19c20
3 files changed
+17 -5

No files matched your search

+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>>,