You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fnrun<B:Backend>(terminal:&mutTerminal<B>,mutmodel:Model) -> Result<Option<String>>{// TODO: Check whether there is newer version via http asynchronouslyloop{// TODO: Get a value using try_recv. When a value has been got,// invoke update function like `update(&mut model, Message::GotNewerVersion(version))`.ifletErr(e) = terminal.draw(|f| ui(f,&mut model.clone())){returnErr(anyhow!(e));}matchhandle_event(&model){Ok(message) => {update(&mut model, message);if model.should_quit() || model.is_target_selected(){break;}}Err(_) => break,}}Ok(model.target_to_execute())}
Functionality
~/fzf-make/last-version-checked-at.toml
How to implement
At first, we are going to release the version using
mgrachev/update-informer
, and then take time to implement the web server.[Web server] How to store the data
[Web server] How to handle request data as unique user
Ref
Implementation memo
About
try_recv
, see https://doc.rust-jp.rs/book-ja/ch16-02-message-passing.html.The text was updated successfully, but these errors were encountered: