Executor type aliases and scheduling helpers.
|
|
template<typename Rep, typename Per = std::ratio<1>> |
| auto | stlab::execute_at (std::chrono::duration< Rep, Per > duration, executor_t executor) -> executor_t |
| | Returns an executor that posts tasks to executor after duration (immediate if zero).
|
| auto | stlab::execute_at (std::chrono::steady_clock::time_point when, executor_t executor) -> executor_t |
|
template<typename E, typename Rep, typename Per = std::ratio<1>> |
| auto | stlab::execute_delayed (std::chrono::duration< Rep, Per > duration, E executor) |
| | Returns an executor that delays each submitted task by duration before forwarding to executor.
|
|
template<typename F> |
| auto | stlab::operator& (executor e, F &&f) -> executor_task_pair< F > |
|
template<typename F> |
| auto | stlab::operator& (F &&f, executor e) -> executor_task_pair< F > |