| 118 | } |
| 119 | |
| 120 | void TCont::ReSchedule() noexcept { |
| 121 | if (Cancelled()) { |
| 122 | // Legacy code may expect a Cancelled coroutine to be scheduled without delay. |
| 123 | Executor()->ScheduleExecutionNow(this); |
| 124 | } else { |
| 125 | Executor()->ScheduleExecution(this); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | |
| 130 | TContExecutor::TContExecutor( |
no test coverage detected