File size: 308 Bytes
670a607
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
export default {
    waitEvent(eventEmitter, eventName) {
        if (eventName === undefined) {
            eventName = 'complete';
        }
        this.waitEvents.waitEvent(eventEmitter, eventName);
        return this;
    },

    isWaitingEvent() {
        return !this.waitEvents.noWaitEvent;
    },
}