T - public final class UnsubscribeDetector<T> extends Object implements rx.Observable.Operator<T,T>
CountDownLatch to assist with detecting unsubscribe calls.| Constructor and Description |
|---|
UnsubscribeDetector()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
rx.Subscriber<? super T> |
call(rx.Subscriber<? super T> subscriber) |
static <T> UnsubscribeDetector<T> |
create()
Factory method.
|
CountDownLatch |
latch()
Returns a latch that will be at zero if one unsubscribe has occurred.
|
public CountDownLatch latch()
public static <T> UnsubscribeDetector<T> create()
Copyright © 2013–2015. All rights reserved.