Skip to main content

brush_interactive/
refs.rs

1use std::sync::Arc;
2
3use tokio::sync::Mutex;
4
5/// A reference-counted, thread-safe reference to a `brush_core::Shell`.
6#[allow(type_alias_bounds)]
7pub type ShellRef<
8    SE: brush_core::ShellExtensions = brush_core::extensions::DefaultShellExtensions,
9> = Arc<Mutex<brush_core::Shell<SE>>>;