Function uvls::webview::ui_event_loop

source ยท
async fn ui_event_loop(
    id: u64,
    tx_config: Sender<ConfigSource>,
    rx_ui: UnboundedReceiver<UIAction>,
    rx_sync: Receiver<UIAction>,
    ui_config: &UseRef<UIConfigState>,
    ui_state: &UseRef<UIState>,
    pipeline: &AsyncPipeline,
    tgt_path: String,
) -> Result<(), Box<dyn Error + Send + Sync>>
Expand description

redux style state management

  • id
  • tx_config The current configuration
  • rx_ui Incoming events from the ui
  • rx_sync Incoming events from the server
  • ui_config Displayed configuration tree
  • ui_state Displayed meta parameters
  • pipeline
  • tgt_path