xref: /openbmc/sdbusplus/include/sdbusplus/async/task.hpp (revision afc8e6e1934ce9e26f9239c634e0e3e1d5772e41)
1 #pragma once
2 
3 #include <exec/task.hpp>
4 
5 // Add exec::task as sdbusplus::async::task so that we can simplify reference to
6 // any parts of it we use and as a portable alias that library users can
7 // reference.
8 namespace sdbusplus::async
9 {
10 template <typename T = void>
11 using task = exec::task<T>;
12 } // namespace sdbusplus::async
13