AgentVerse's picture
first commit
670a607
raw
history blame contribute delete
308 Bytes
export default {
waitEvent(eventEmitter, eventName) {
if (eventName === undefined) {
eventName = 'complete';
}
this.waitEvents.waitEvent(eventEmitter, eventName);
return this;
},
isWaitingEvent() {
return !this.waitEvents.noWaitEvent;
},
}