blob: 148d13a619f868f39611ef6bb60645b394d4d290 [file] [log] [blame]
brians343bc112013-02-10 01:53:46 +00001#ifndef __AOS_ASYNC_ACTION_RUNNER_H_
2#define __AOS_ASYNC_ACTION_RUNNER_H_
3
4#include "aos/atom_code/async_action/AsyncAction.h"
5
6namespace aos {
7 class AsyncActionRunner {
8 public:
9 template<class T, class S> inline static int Run(AsyncAction<T, S> &action, uint8_t priority) {
10 return action.Run(priority);
11 }
12 };
13}
14
15#endif