pub type SubscriptionMethod<'a> = Arc<dyn Fn(Id<'_>, Params<'_>, MethodSink, SubscriptionState<'_>) -> Pin<Box<dyn Future<Output = MethodResponse> + Send + 'a>> + Sync + Send>;
Expand description

Method callback for subscriptions.

Aliased Type§

struct SubscriptionMethod<'a> { /* private fields */ }