type AsyncAPIMethodHandler = fn(&str, Vec<Value>) -> Box<dyn Future<Output = Result<Value>> + Send + Unpin>;
Async API method handler callback