code: @Deprecated
      public static Function<GHEventsSubscriber, Void> processEvent(final GHEvent event, final String payload) {
          return processEvent(new GHSubscriberEvent(SCMEvent.originOf(Stapler.getCurrentRequest()), event, payload));
      }
docs: Function which calls {@link #onEvent(GHSubscriberEvent)} for every subscriber on apply
  
  @param event   from hook. Applied only with event from {@link #events()} set
  @param payload string content of hook from GH. Never blank
  
  @return function to process {@link GHEventsSubscriber} list. Returns null on apply.
  @deprecated use {@link #processEvent(GHSubscriberEvent)}