code: public InputMapTemplate<S, E> ifConsumed(BiConsumer<? super S, ? super E> postConsumption) {
          return postResult(Result.CONSUME, postConsumption);
      }
docs: Executes some additional handler if the event was consumed (e.g. {@link InputHandler#process(Event)} returns
  {@link Result#CONSUME}).