Class Helper

java.lang.Object
io.vertx.lang.rxjava3.Helper

public class Helper extends Object
Author:
Julien Viet
  • Constructor Details

    • Helper

      public Helper()
  • Method Details

    • unwrap

      public static Class unwrap(Class<?> type)
      Unwrap the type used in RxJava.
      Parameters:
      type - the type to unwrap
      Returns:
      the unwrapped type
    • convertHandler

      public static <CORE,REACTIVE> Handler<CORE> convertHandler(Handler<REACTIVE> rxHandler, Function<CORE,REACTIVE> mapper)
      Convert a handler for a generated reactive type to a handler for the corresponding core type.