Support async handlers for events and commands