public class SingleOnSubscribeAdapter<T> extends Object implements Single.OnSubscribe<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.function.Consumer<Handler<AsyncResult<T>>> |
consumer |
Constructor and Description |
---|
SingleOnSubscribeAdapter(java.util.function.Consumer<Handler<AsyncResult<T>>> consumer) |
protected final java.util.function.Consumer<Handler<AsyncResult<T>>> consumer
public SingleOnSubscribeAdapter(java.util.function.Consumer<Handler<AsyncResult<T>>> consumer)
public void call(SingleSubscriber<? super T> sub)
call
in interface Action1<SingleSubscriber<? super T>>
Copyright © 2024 Eclipse. All rights reserved.