Wait until a matching event fires on the event bus. Subscribes via eventBus.subscribe, yields until event received, unsubscribes in finally block.
Object with subscribe method (typically ecs.eventBus)
Event type name to listen for
Optional
Optional predicate to filter events
Wait until a matching event fires on the event bus. Subscribes via eventBus.subscribe, yields until event received, unsubscribes in finally block.