code: function addProcessor(eventType, processor) {
      if (processors[eventType]===undefined)
        processors[eventType] = [];
      processors[eventType].push(processor);
    }
docs: Add a processor function of type function(data,callback)