async fn read_address_book<AddressBook, T>(
address_book: &AddressBook,
read: impl FnOnce(AddressBook) -> T + Send + 'static,
) -> RpcResult<T>Expand description
Runs read against the address book on a blocking thread, so waiting on its
mutex doesn’t park an async runtime worker (#11618).