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
Without using publish method we get several problems:
Method onTimerProgressChange will cause infinite calling in completion with time 0.0
Method onTimerActivityChange will call completion only once on start
try? MTimer
.createNewInstance()
// .publish(every: time) { _ in } // i don't use it
.onTimerProgressChange { print($0) } // causes a loop
.onTimerActivityChange { print($0) } // will be called once on start
.start(from: .zero, to: time)
The text was updated successfully, but these errors were encountered:
Without using
publish
method we get several problems:onTimerProgressChange
will cause infinite calling in completion with time 0.0onTimerActivityChange
will call completion only once on startThe text was updated successfully, but these errors were encountered: