Trait pubnub_hyper::core::Runtime
source · [−]pub trait Runtime: Clone + Send + Sync + Unpin + Debug {
fn spawn<F>(&self, future: F)
where
F: 'static + Future<Output = ()> + Send;
}
Expand description
Runtime abstracts away the underlying runtime we use for task scheduling.