Exemple #1
0
 void HandleEvent(std::shared_ptr<dt::Event> e) {
     if(e->GetType() == "cancelevent") {
         dt::Logger::Get().Info("CancelListener: Canceling event");
         e->Cancel();
     }
 }
Exemple #2
0
void SpectraCoroutineExecution::Cancel(void)
{
	coroutine->Cancel();
}