mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-28 20:14:13 +00:00
add comment
This commit is contained in:
parent
6f4bc64689
commit
1d8b3b27b3
@ -38,9 +38,7 @@ impl Driver {
|
|||||||
// Init supported protocol libraries
|
// Init supported protocol libraries
|
||||||
let gemini = Rc::new(ggemini::Client::new());
|
let gemini = Rc::new(ggemini::Client::new());
|
||||||
|
|
||||||
// Translate driver status to `Status`
|
// Retransmit gemini [SocketClient](https://docs.gtk.org/gio/class.SocketClient.html) updates
|
||||||
|
|
||||||
// Gemini
|
|
||||||
gemini.socket.connect_event(move |_, event, _, _| {
|
gemini.socket.connect_event(move |_, event, _, _| {
|
||||||
callback(match event {
|
callback(match event {
|
||||||
SocketClientEvent::Resolving => Status::Resolving { time: now() },
|
SocketClientEvent::Resolving => Status::Resolving { time: now() },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user