DataAsyncReducer

Trait DataAsyncReducer 

pub trait DataAsyncReducer {
    type Channel;
    type Action;

    // Required method
    async fn async_reduce(
        _radio: &mut Radio<Self, Self::Channel>,
        _action: Self::Action,
    ) -> ChannelSelection<Self::Channel>
       where Self::Channel: RadioChannel<Self>,
             Self: Sized;
}
Available on crate feature radio only.

Required Associated Types§

type Channel

type Action

Required Methods§

async fn async_reduce( _radio: &mut Radio<Self, Self::Channel>, _action: Self::Action, ) -> ChannelSelection<Self::Channel>
where Self::Channel: RadioChannel<Self>, Self: Sized,

Implementors§