Type Definition jsonrpsee_core::server::AsyncMethod
source · pub type AsyncMethod<'a> = Arc<dyn Send + Sync + Fn(Id<'a>, Params<'a>, ConnectionId, MaxResponseSize) -> BoxFuture<'a, MethodResponse>>;Available on crate feature
server only.Expand description
Similar to SyncMethod, but represents an asynchronous handler.