Function filter_async

Source
pub fn filter_async<'a, Pred, Output, FnArgs, Descr>(
    pred: Pred,
) -> Handler<'a, Output, Descr>
where Pred: Injectable<bool, FnArgs> + Send + Sync + 'a, Output: 'a, Descr: HandlerDescription,
Expand description

The asynchronous version of filter.