Skip to main content

run_loop

Function run_loop 

Source
pub async fn run_loop(
    bridge: Bridge,
    host_events: UnboundedReceiver<HostEvent>,
    mqtt_in: Receiver<Incoming>,
    stop: impl Future<Output = ()>,
) -> Result<(), String>
Expand description

Run the bridge until stop resolves or the coordinator fails.