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