17#include <dispenso/detail/pipeline_impl.h>
48auto stage(F&& f, ssize_t limit) {
49 return detail::Stage<F>(std::forward<F>(f), limit);
76template <
typename... Stages>
79 auto pipes = detail::makePipes(tasks, std::forward<Stages>(sIn)...);
107template <
typename... Stages>
109 pipeline(globalThreadPool(), std::forward<Stages>(sIn)...);
auto stage(F &&f, ssize_t limit)
void pipeline(ThreadPool &pool, Stages &&... sIn)
constexpr ssize_t kStageNoLimit
detail::OpResult< T > OpResult