You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The subscription returned by schedulePeriodically() is automatically marked as unsubscribed when the first run terminates, after queuing the next event. As a result, the periodic event cannot be unsubscribed from once the first call() happens, as unsubscribe() will now be a no-op (as isUnsubscribed is true).
Example in the Scala REPL (with the Java bindings for RxJava 0.19):
Here, s.isUnsubscribed() returns false. However, if you wait one second, it will return true and s.unsubscribe() will not do anything and the constant display will continue every second.
The text was updated successfully, but these errors were encountered:
The subscription returned by
schedulePeriodically()
is automatically marked as unsubscribed when the first run terminates, after queuing the next event. As a result, the periodic event cannot be unsubscribed from once the firstcall()
happens, asunsubscribe()
will now be a no-op (asisUnsubscribed
is true).Example in the Scala REPL (with the Java bindings for RxJava 0.19):
Here,
s.isUnsubscribed()
returnsfalse
. However, if you wait one second, it will returntrue
ands.unsubscribe()
will not do anything and the constant display will continue every second.The text was updated successfully, but these errors were encountered: