Skip to main content

AppTx

Type Alias AppTx 

Source
pub type AppTx = UnboundedSender<AppEvent>;
Expand description

Convenience alias used throughout the codebase.

Aliased Type§

pub struct AppTx { /* private fields */ }

Trait Implementations§

Source§

impl AppTxExt for AppTx

Source§

fn announce_and_open(&self, path: VaultPath, created: bool)

Announce a freshly created note so sidebars browsing its directory refresh, then open it. The notification is gated on created (an already-existing note needs no refresh); the note is opened regardless.