Skip to main content

subscription

Function subscription 

Source
pub fn subscription<K, M>(
    inbox: &Inbox<K>,
    message: fn(K) -> M,
) -> Subscription<M>
where K: Send + 'static, M: Send + 'static,
Expand description

What views asked for through the Requests that inbox receives from, each as the message message makes of it. The app decides which are actually fetched.