Schedule a callable to be invoked after the specified timeout interval.
Declared in <folly/io/async/HHWheelTimer.h>
template<class F>
void
scheduleTimeoutFn(
F fn,
Duration timeout);
| Name | Description |
|---|---|
| F | The callable type to invoke. |
| Name | Description |
|---|---|
| fn | The callable invoked when the timeout fires. |
| timeout | The delay before the callable is invoked. |