Package rx.internal.util
Class BlockingUtils
java.lang.Object
rx.internal.util.BlockingUtils
Utility functions relating to blocking types.
Not intended to be part of the public API.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidawaitForComplete(CountDownLatch latch, Subscription subscription) Blocks and waits for aSubscriptionto complete.
-
Constructor Details
-
BlockingUtils
private BlockingUtils()
-
-
Method Details
-
awaitForComplete
Blocks and waits for aSubscriptionto complete.- Parameters:
latch- a CountDownLatchsubscription- the Subscription to wait on.
-