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 void
awaitForComplete
(CountDownLatch latch, Subscription subscription) Blocks and waits for aSubscription
to complete.
-
Constructor Details
-
BlockingUtils
private BlockingUtils()
-
-
Method Details
-
awaitForComplete
Blocks and waits for aSubscription
to complete.- Parameters:
latch
- a CountDownLatchsubscription
- the Subscription to wait on.
-