code: public static <T> LatchedObserver<T> createIndexed(Action2<? super T, ? super Integer> onNext, Action1<? super Throwable> onError) {
          return createIndexed(onNext, onError, new CountDownLatch(1));
      }
docs: Create a LatchedObserver with the given indexed callback function(s).