addOutputListener static method

void addOutputListener(
  1. OutputCallback callback
)

Register an OutputCallback which is called for each new OutputEvent.

Implementation

static void addOutputListener(OutputCallback callback) {
  _outputCallbacks.add(callback);
}