(py: Python, dur: u64)
| 30 | |
| 31 | #[pyfunction] |
| 32 | fn sleep(py: Python, dur: u64) { |
| 33 | with_context(py, || { |
| 34 | wait(crate::rt::task::sleep(Duration::from_millis(dur))) |
| 35 | }) |
| 36 | } |
| 37 | |
| 38 | #[pyfunction] |
| 39 | fn join(py: Python, tasks: Vec<PyObject>) -> Vec<PyObject> { |
no test coverage detected