pub fn new_subscription<M, F, G>(
notification: &str,
subscribe: F,
unsubscribe: G,
) -> (Subscribe<F, G>, Unsubscribe<G>)
Expand description
Creates new subscribe and unsubscribe RPC methods
pub fn new_subscription<M, F, G>(
notification: &str,
subscribe: F,
unsubscribe: G,
) -> (Subscribe<F, G>, Unsubscribe<G>)
Creates new subscribe and unsubscribe RPC methods