(task: PyObjectRef, vm: &VirtualMachine)
| 2469 | |
| 2470 | #[pyfunction] |
| 2471 | fn _unregister_eager_task(task: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
| 2472 | let eager_tasks_set = get_eager_tasks_set(vm)?; |
| 2473 | vm.call_method(&eager_tasks_set, "discard", (task,))?; |
| 2474 | Ok(()) |
| 2475 | } |
| 2476 | |
| 2477 | #[pyfunction] |
| 2478 | fn _enter_task(loop_: PyObjectRef, task: PyObjectRef, vm: &VirtualMachine) -> PyResult<()> { |
no test coverage detected