zak.taccardi
08/31/2017, 9:21 PMreplay(1).autoConnect()
) for a network call that can emit the following three values: AuthResponse.Loading
, AuthResponse.Success
, AuthResponse.Failure
(it’s a sealed class).
I want to re-execute the network call Single<AuthResponse>
under the following condition:
- a new subscriber attaches AND the latest value on this stream is AuthResponse.Failure
How would you recommend achieving this?