Package com.forgerock.reactive
Interface Completable.Emitter
-
- Enclosing interface:
- Completable
public static interface Completable.EmitterAdapts the streaming api to a callback one.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsubscribe(Completable.Subscriber s)Called when the streaming api has been subscribed.
-
-
-
Method Detail
-
subscribe
void subscribe(Completable.Subscriber s) throws Exception
Called when the streaming api has been subscribed.- Parameters:
s- TheCompletable.Subscriberto use to communicate the completeness of thisCompletable- Throws:
Exception- on error
-
-