Type Alias jsonrpsee_server::SubscriptionMethod
source · pub type SubscriptionMethod<'a> = Arc<dyn Fn(Id<'_>, Params<'_>, MethodSink, SubscriptionState<'_>, Extensions) -> Pin<Box<dyn Future<Output = MethodResponse> + Send + 'a>> + Send + Sync>;
Expand description
Method callback for subscriptions.
Aliased Type§
struct SubscriptionMethod<'a> { /* private fields */ }