karyon_jsonrpc::server::pubsub_service

Type Alias PubSubRPCMethod

Source
pub type PubSubRPCMethod<'a> = Box<dyn Fn(Arc<Channel>, String, Value) -> Pin<Box<dyn Future<Output = RPCResult<Value>> + Send + Sync + 'a>> + Send + 'a>;
Expand description

Represents the RPC method

Aliased Typeยง

struct PubSubRPCMethod<'a>(/* private fields */);