docs: public void onWrite(final SelectionKey key) {
      if (this.writeEventDispatcher == null) {
        dispatchWriteEvent(key);
      } else {
        this.writeEventDispatcher.dispatch(new WriteTask(key));
      }
    }