Returns a future that will complete at the requested time.

Synopsis

Declared in <folly/futures/ThreadWheelTimekeeper.h>

template<class Clock>
SemiFuture<Unit>
at(std::chrono::time_point<Clock> when);

Description

You may cancel this SemiFuture to reclaim resources.

NB This is sugar for after(when ‐ now), so while you are welcome to use a std::chrono::system_clock::time_point it will not track changes to the system clock but rather execute that many milliseconds in the future according to the steady clock.

Return Value

a future that will complete at the requested time.

Created with MrDocs