Skip to main content

make_on_pick

Function make_on_pick 

Source
fn make_on_pick(
    enabled: RwSignal<bool>,
    active_source_id: RwSignal<Option<String>>,
    error_message: RwSignal<Option<String>>,
) -> impl Fn(Option<String>) + Copy + Send + Sync + 'static
Expand description

Closure factory for per-row click. Persists the new source and, if a session is live, tears down + restarts on the new source.