pub fn use_share_radio<Value, Channel>(
radio: impl FnOnce() -> RadioStation<Value, Channel>,
)where
Channel: RadioChannel<Value>,
Value: 'static,Expand description
Provide an existing RadioStation to descendant components.
This is useful for sharing the same global state across different parts of the component tree
or across multiple windows.