MCPcopy Index your code
hub / github.com/ReactiveX/RxJava / blockingGet

Method blockingGet

src/main/java/io/reactivex/rxjava3/core/Maybe.java:2856–2863  ·  view source on GitHub ↗

Waits in a blocking fashion until the current Maybe signals a success value (which is returned), null if completed or an exception (which is propagated). <img width="640" height="285" src="https://raw.github.com/wiki/ReactiveX/RxJava/images/rx-operators/Maybe.blockingGet.png" alt

()

Source from the content-addressed store, hash-verified

2854 * @return the success value
2855 */
2856 @CheckReturnValue
2857 @SchedulerSupport(SchedulerSupport.NONE)
2858 @Nullable
2859 public final T blockingGet() {
2860 BlockingMultiObserver<T> observer = new BlockingMultiObserver<>();
2861 subscribe(observer);
2862 return observer.blockingGet();
2863 }
2864
2865 /**
2866 * Waits in a blocking fashion until the current {@code Maybe} signals a success value (which is returned),

Callers 10

flowableMethod · 0.45
singleMethod · 0.45
maybeMethod · 0.45
setupMethod · 0.45
blockingFirstMethod · 0.45
blockingLastMethod · 0.45
blockingSingleMethod · 0.45
blockingFirstMethod · 0.45
blockingLastMethod · 0.45
blockingSingleMethod · 0.45

Calls 2

subscribeMethod · 0.95
blockingGetMethod · 0.95

Tested by

no test coverage detected