WaitForAll and WaitForAny on EventEmitter.