Show how to use wait and events properly in README