ConnectableObservables
and ConnectableFlowables.
| Modifier and Type | Method and Description |
|---|---|
| public void | resetIf(Disposable
the disposable received from a previous connection)connect() call.Reset the connectable source only if the given |
| resetIf | back to summary |
|---|---|
| public void resetIf(Disposable connection) Reset the connectable source only if the given For example, an immediately previous connection should reset the connectable source:
However, if the connection indicator Disposable is from a much earlier connection,
it should not affect the current connection:
| |