sc_rpc::utils

Function spawn_subscription_task

source
pub fn spawn_subscription_task(
    executor: &SubscriptionTaskExecutor,
    fut: impl Future<Output = ()> + Send + 'static,
)
Expand description

Helper for spawning non-blocking rpc subscription task.