* @brief Replace the underlying `asyncio.Handle` Python object with the provided value * @return the old `asyncio.Handle` object */
| 102 | * @return the old `asyncio.Handle` object |
| 103 | */ |
| 104 | inline PyObject *swap(PyObject *newHandleObject) { |
| 105 | return std::exchange(_handle, newHandleObject); |
| 106 | } |
| 107 | |
| 108 | /** |
| 109 | * @brief Getter for if the timer has been ref'ed |