MCPcopy Create free account
hub / github.com/apache/datafusion / panic_resume

Function panic_resume

datafusion/common-runtime/src/common.rs:150–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 #[tokio::test]
149 #[should_panic(expected = "foo")]
150 async fn panic_resume() {
151 // this should panic w/o an `unwrap`
152 SpawnedTask::spawn(async { panic!("foo") })
153 .join_unwind()
154 .await
155 .ok();
156 }
157
158 #[tokio::test]
159 async fn cancel_not_started_task() {

Callers

nothing calls this directly

Calls 1

join_unwindMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…