virtual Disposable Schedule(clock::duration due, Work work) { clock::time_point dueTime = clock::now() + due; return Schedule(dueTime, std::move(work)); }
virtual Disposable Schedule(Work work) { clock::time_point dueTime = clock::now(); return Schedule(dueTime, std::move(work)); }