in lib/kcl/action_handler.js [55:64]
ActionHandler.prototype._onIOLine = function(line) {
if (line) {
var action = JSON.parse(line);
if (!action || !action.action) {
this._ioHandler.writeError(util.format('Invalid action received: %s', line));
return;
}
this.emit('action', action);
}
};