code: @SuppressWarnings("unchecked")
      public AsyncProcessFunction<Object, TBase<?, ?>, Object> asyncFunc() {
          return (AsyncProcessFunction<Object, TBase<?, ?>, Object>) func;
      }
docs: Returns the {@link AsyncProcessFunction}.
  
  @throws ClassCastException if this function is synchronous