KCLManager.prototype._sendAction = function()

in lib/kcl/kcl_manager.js [164:172]


KCLManager.prototype._sendAction = function(context, action) {
  this._actionHandler.sendAction(action, function(err) {
    // If there is an error communicating with the MultiLangDaemon, then cannot proceed any further.
    if (err) {
      this._cleanup();
      throw new Error('Kinesis Client Library is in an invalid state. Cannot proceed further.');
    }
  }.bind(this));
};