Module hooks

Source

Structs§

Radio
Radio lets you access the state and is subscribed given it’s Channel.
RadioAntenna
RadioGuard
RadioStation
Holds a global state and all its subscribers.

Enums§

ChannelSelection

Traits§

DataAsyncReducer
DataReducer
RadioAsyncReducer
RadioChannel
RadioReducer

Functions§

use_init_radio_station
use_radio
Consume the state and subscribe using the given channel Any mutation using this radio will notify other subscribers to the same channel, unless you explicitely pass a custom channel using other methods as Radio::write_channel()
use_radio_station
use_share_radio
Provide the given RadioStation to descendants components, this is the same as when using use_init_radio_station except that you pass an already created one.