Function tokio_tasks::try_list_tasks_for
source · pub fn try_list_tasks_for(duration: Duration) -> Option<Vec<Arc<dyn TaskBase>>>
Expand description
Try to return a list of all currently running tasks, if we cannot acquire the lock for the tasks before duration has passed return None