Function wlancfg_lib::util::listener::serve

source ·
pub async fn serve<P, F, U>(messages: UnboundedReceiver<Message<P, U>>)
where P: Listener<F>, U: CurrentStateCache + Clone + Into<F> + PartialEq,
Expand description

Serves and manages a list of Listeners. Use Message to interact with registered listeners.