Added async related definitions.

- aysnc holder for resume action
- async script function