T
- Type of items received by the Subscriber
.public final class NonResubscribeableSingleSubscriberFunction<T> extends java.lang.Object implements java.util.function.Function<SingleSource.Subscriber<? super T>,SingleSource.Subscriber<? super T>>
SingleSource.Subscriber
to subscribe to a TestSingle
. Subsequent attempts to subscribe
will throw an exception.Constructor and Description |
---|
NonResubscribeableSingleSubscriberFunction() |
Modifier and Type | Method and Description |
---|---|
SingleSource.Subscriber<? super T> |
apply(SingleSource.Subscriber<? super T> subscriber) |
public NonResubscribeableSingleSubscriberFunction()
public SingleSource.Subscriber<? super T> apply(SingleSource.Subscriber<? super T> subscriber)
apply
in interface java.util.function.Function<SingleSource.Subscriber<? super T>,SingleSource.Subscriber<? super T>>