16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_THREADING_EXECUTORINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_THREADING_EXECUTORINTERFACE_H_ 20 #include <system_error> 68 virtual std::error_condition
execute(std::function<
void()>&&
function) noexcept = 0;
69 virtual std::error_condition
execute(
const std::function<
void()>&
function) noexcept = 0;
78 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_THREADING_EXECUTORINTERFACE_H_ Interface for asynchronous execution of functions.
Definition: ExecutorInterface.h:46
virtual std::error_condition execute(std::function< void()> &&function) noexcept=0
Schedules a function for execution.
virtual ~ExecutorInterface() noexcept=default
Destructs an Executor.
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36