Function benzene::interpret [] [src]

pub fn interpret<Context, Event, Action, Intent>(
    inputs: Communication<Context, Event>,
    intent: Intent
) -> Communication<Context, Action> where
    Context: Clone + Send + Sync + 'static,
    Event: Clone + Send + Sync + 'static,
    Action: Clone + Send + Sync + 'static,
    Intent: Fn(Context, Event) -> Option<Action> + Send + Sync + 'static,