Runnables: Add oneshot runnables (#8061)

/cc @SomeoneToIgnore 
Fixes #7460 and partially addresses #7108 
Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2024-02-20 23:13:09 +01:00 committed by GitHub
parent 8a73bc4c7d
commit 2ec910f772
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 163 additions and 17 deletions

View file

@ -2,11 +2,13 @@ use std::path::PathBuf;
use gpui::{AppContext, ViewContext, WindowContext};
use modal::RunnablesModal;
pub use oneshot_source::OneshotSource;
use runnable::Runnable;
use util::ResultExt;
use workspace::Workspace;
mod modal;
mod oneshot_source;
pub fn init(cx: &mut AppContext) {
cx.observe_new_views(