macro_rules! rpc_stateful_processor {
($context:expr_2021, $handler:expr_2021) => { ... };
}Expand description
Create a stateful JSON-RPC processor
ยงUsage:
// Create processor with context and handler
let processor = rpc_stateful_processor!(service_context, handler);
// Create processor with context and method registry
let processor = rpc_stateful_processor!(service_context, registry);