Skip to main content

run_with_backend

Function run_with_backend 

Source
pub async fn run_with_backend(backend: Backend) -> Result<()>
Expand description

Launch the TUI with a pre-constructed Backend.

Used by --weixin mode where the backend is created before the TUI starts so the WeChat channel can be wired up.