mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
update comment
This commit is contained in:
parent
9a916ed1a3
commit
ff54e93ddf
1 changed files with 4 additions and 2 deletions
|
|
@ -50,7 +50,11 @@ impl Client {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Actions
|
||||||
|
|
||||||
/// Get new [Cancellable](https://docs.gtk.org/gio/class.Cancellable.html) by cancel previous one
|
/// Get new [Cancellable](https://docs.gtk.org/gio/class.Cancellable.html) by cancel previous one
|
||||||
|
/// * this action wanted just because of `Cancelable` member constructed privately,
|
||||||
|
/// where some external components may depend to sync their related processes
|
||||||
pub fn cancellable(&self) -> Cancellable {
|
pub fn cancellable(&self) -> Cancellable {
|
||||||
// Init new Cancellable
|
// Init new Cancellable
|
||||||
let cancellable = Cancellable::new();
|
let cancellable = Cancellable::new();
|
||||||
|
|
@ -68,8 +72,6 @@ impl Client {
|
||||||
cancellable
|
cancellable
|
||||||
}
|
}
|
||||||
|
|
||||||
// Actions
|
|
||||||
|
|
||||||
/// Begin new request
|
/// Begin new request
|
||||||
/// * the `query` as string, to support system routing requests (e.g. `source:`)
|
/// * the `query` as string, to support system routing requests (e.g. `source:`)
|
||||||
pub fn request(&self, query: &str) {
|
pub fn request(&self, query: &str) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue