Esempio n. 1
0
 virtual Disposable Schedule(clock::duration due, Work work)
 {
     clock::time_point dueTime = clock::now() + due;
     return Schedule(dueTime, std::move(work));
 }
Esempio n. 2
0
 virtual Disposable Schedule(Work work)
 {
     clock::time_point dueTime = clock::now();
     return Schedule(dueTime, std::move(work));
 }