Skip to main content

Signal

Trait Signal 

Source
pub trait Signal:
    'static
    + Send
    + Sync { }
Expand description

§Signal

A Signal is what can be used as the output of an Observable or as the input of an [Observer][crate::Observer]

§Trait Bounds

  • 'static: Signals must always outlive their subscribers
  • Send + Sync: Must be able to cross thread boundaries

Implementors§

Source§

impl<T> Signal for T
where T: 'static + Send + Sync,