Skip to main content

BoxedSignal

Type Alias BoxedSignal 

Source
pub type BoxedSignal<T> = Box<dyn SignalDynClone<Item = T> + Send + Sync>;
Expand description

A type-erased, cloneable Signal.

This is a convenience alias for Box<dyn SignalDynClone<Item = T> + Send + Sync>. Useful when you need to store signals of different concrete types in the same collection, or return them from branching logic.

Aliased Typeยง

pub struct BoxedSignal<T>(/* private fields */);