Pass fromCallable a function, and fromCallable will call this function to emit result of invocation
afresh each time a new Observer subscribes.
| Modifier and Type | Field and Description |
|---|---|
| private final Callable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| resultFactory | back to summary |
|---|---|
| private final Callable<? extends T> resultFactory | |
| OnSubscribeFromCallable | back to summary |
|---|---|
| public OnSubscribeFromCallable(Callable<? extends T> resultFactory) | |
| call | back to summary |
|---|---|
| public void call(Subscriber<? super T> subscriber) Implements rx.
| |