rename method

This commit is contained in:
yggverse 2025-01-19 05:20:08 +02:00
parent e669034452
commit 6b02922f97
2 changed files with 2 additions and 2 deletions

View file

@ -68,7 +68,7 @@ impl Client {
/// Begin new request
/// * the `query` as string, to support system routes (e.g. `source:` prefix)
pub fn request_async(&self, query: &str, callback: impl FnOnce(Response) + 'static) {
pub fn request(&self, query: &str, callback: impl FnOnce(Response) + 'static) {
self.status.replace(Status::Request {
time: now(),
value: query.to_string(),