Skip to main content

observe

Function observe 

Source
pub fn observe(
    cx: &mut App,
    observer: impl Fn(&Cue, &mut App) + 'static,
) -> CueSubscription
Expand description

Registers an observer for every cue emitted by gpui-ai components.