blob: 148d13a619f868f39611ef6bb60645b394d4d290 [file] [log] [blame]
#ifndef __AOS_ASYNC_ACTION_RUNNER_H_
#define __AOS_ASYNC_ACTION_RUNNER_H_
#include "aos/atom_code/async_action/AsyncAction.h"
namespace aos {
class AsyncActionRunner {
public:
template<class T, class S> inline static int Run(AsyncAction<T, S> &action, uint8_t priority) {
return action.Run(priority);
}
};
}
#endif