pub fn run_async_with<M: Send + 'static>(
config: RunConfig,
f: impl FnMut(&mut Context, &mut Vec<M>) + Send + 'static,
) -> Result<Sender<M>>Expand description
Run the TUI loop asynchronously with custom configuration.
Requires the async feature. Like run_async, but accepts a
RunConfig to control tick rate, mouse support, and theming.
Returns a tokio::sync::mpsc::Sender for pushing messages into the UI.