[TIMOB-13150] Added support for prepareAsync

Added async support 

https://jira.appcelerator.org/browse/TIMOB-13150