lib/conversation.js
function runTheHandler(inboundMessage) {
    let handler = convo.handler;
    convo.handler = null;
    
    let result = handler.apply(convo, [convo, inboundMessage]);

    
    if (result === IS_WAIT_FUNCTION) {
      // reset the handler to wait again
      convo.handler = handler;
    }
    // this was a real interaction so reset the timeout and wait count
    else {
      fuse.logger.verbose('Ran handler');
      resetTimeout();
      convo.wait_count = 0;
    }
  }
function runTheHandler(inboundMessage) {
    let handler = convo.handler;
    convo.handler = null;
    
    let result = handler.apply(convo, [convo, inboundMessage]);

    
    if (result === IS_WAIT_FUNCTION) {
      // reset the handler to wait again
      convo.handler = handler;
    }
    // this was a real interaction so reset the timeout and wait count
    else {
      fuse.logger.verbose('Ran handler');
      resetTimeout();
      convo.wait_count = 0;
    }
  }
function runTheHandler ( inboundMessage ) { let handler = convo . handler ; convo . handler = null ; let result = handler . apply ( convo , [ convo , inboundMessage ] ) ; if ( result === IS_WAIT_FUNCTION ) { // reset the handler to wait again convo . handler = handler ; } // this was a real interaction so reset the timeout and wait count else { fuse . logger . verbose ( 'Ran handler' ) ; resetTimeout ( ) ; convo . wait_count = 0 ; } }
runs the handler with the inboundMessage

@param {InboundMessage} inboundMessage
runs the handler with the inboundMessage