def await_err(self) -> futures: """ Signal when there is a connect event. :return futures: If the flag is set. """ return await_event(self._err_event)
def await_remove_view(self) -> futures: """ Signal when there is a remove view event. :return futures: If the flag is set. """ return await_event(self._remove_dev_view_flag)
def await_err(self) -> futures: """ Signal when there is an error with device connection. :return futures: If the flag is set. """ return await_event(self._connect_err_event)
def await_new_view(self) -> futures: """ Signal when there is a new view event. :return futures: If the flag is set. """ return await_event(self._new_dev_view_flag)
def await_saved(self) -> futures: """ Signal main app that this device data has been saved. :return futures: Event to signal saving done. """ return await_event(self.saved)