Function sc_rpc::utils::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.