botium-core
Version:
The Selenium for Chatbots
23 lines (18 loc) • 391 B
JavaScript
module.exports = class ClearQueueLogicHook {
constructor (context, caps = {}) {
this.context = context
this.caps = caps
}
onConvoBegin ({ container }) {
container._EmptyQueue()
}
onMeStart ({ container }) {
container._EmptyQueue()
}
onBotEnd ({ container }) {
container._EmptyQueue()
}
onConvoEnd ({ container }) {
container._EmptyQueue()
}
}