mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename method
This commit is contained in:
parent
e669034452
commit
6b02922f97
2 changed files with 2 additions and 2 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue