pub fn wait_for_tab_state(
tab_id: TabId,
target_state: TabState,
) -> WuiResult<()>Expand description
Block calling thread until the tab is in the desired state NOTE: This blocks the current thread execution on a mutex condvar until the desired state is achieved. This can potentially block indefinitely.