code: public static <T> io.advantageous.reakt.CallbackHandler<T> convertQBitCallback(final Callback<T> callback) {
          return result -> {
  
              if (result.failure()) {
                  callback.onError(result.cause());
              } else {
                  callback.accept(result.get());
              }
          };
      }
docs: Converts a Reakt callback into a QBit callback.
  
  @param callback reakt callback
  @param <T>      type of result
  @return QBit callback