pub(super) async fn wait_for_teardown( uid: &str, limit: Duration, ) -> Result<(), ()>
Waits until no pane of this process holds agent uid’s lease, which its process releases as the last step of its teardown.
uid