Add asynchronous event API from issue #200