UNPKG

botium-core

Version:
16 lines (13 loc) 393 B
const pause = require('../PauseLogic').pause module.exports = class PauseLogicHook { constructor (context, caps = {}) { this.context = context this.caps = caps } onMeEnd ({ convo, convoStep, args }) { return pause('PauseLogicHook', convoStep.stepTag, args) } onBotEnd ({ convoStep, container, args }) { return pause('PauseLogicHook', convoStep.stepTag, args) } }