static <S,T> SyncOnSubscribe<S,T> |
SyncOnSubscribe.createSingleState(Func0<? extends S> generator,
Action2<? super S,? super Observer<? super T>> next) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|
static <S,T> SyncOnSubscribe<S,T> |
SyncOnSubscribe.createSingleState(Func0<? extends S> generator,
Action2<? super S,? super Observer<? super T>> next,
Action1<? super S> onUnsubscribe) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|
static <S,T> SyncOnSubscribe<S,T> |
SyncOnSubscribe.createStateful(Func0<? extends S> generator,
Func2<? super S,? super Observer<? super T>,? extends S> next) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|
static <S,T> SyncOnSubscribe<S,T> |
SyncOnSubscribe.createStateful(Func0<? extends S> generator,
Func2<? super S,? super Observer<? super T>,? extends S> next,
Action1<? super S> onUnsubscribe) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|
static <T> SyncOnSubscribe<java.lang.Void,T> |
SyncOnSubscribe.createStateless(Action1<? super Observer<? super T>> next) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|
static <T> SyncOnSubscribe<java.lang.Void,T> |
SyncOnSubscribe.createStateless(Action1<? super Observer<? super T>> next,
Action0 onUnsubscribe) |
Generates a synchronous SyncOnSubscribe that calls the provided next function
to generate data to downstream subscribers.
|