async fn run_resource_bridge(tube: IoSource<Tube>, state: Rc<RefCell<Frontend>>)