| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | ASYNC
Request an asynchronous fusion mode and can be returned by |
| public static final int | BOUNDARY
Used in binary or combination with the other constants as an input to |
| public static final int | NONE
Returned by the |
| public static final int | SYNC
Request a synchronous fusion mode and can be returned by |
| Modifier and Type | Method and Description |
|---|---|
| public int |
| ANY | back to summary |
|---|---|
| public static final int ANY | |
| ASYNC | back to summary |
|---|---|
| public static final int ASYNC Request an asynchronous fusion mode and can be returned by
In asynchronous fusion, upstream values may become available to | |
| BOUNDARY | back to summary |
|---|---|
| public static final int BOUNDARY Used in binary or combination with the other constants as an input to For example, fusing map() and observeOn() may move the computation of the map's function over to the thread run after the observeOn(), which is generally unexpected. | |
| NONE | back to summary |
|---|---|
| public static final int NONE Returned by the | |
| SYNC | back to summary |
|---|---|
| public static final int SYNC Request a synchronous fusion mode and can be returned by
In synchronous fusion, all upstream values are either already available or is generated
when | |
| requestFusion | back to summary |
|---|---|
| public int requestFusion(int mode) Request a fusion mode from the upstream.
This should be called before
Calling this method multiple times or after
| |