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
Manual state tracking has the advantage that you're able to associate data with a state. For example
enumLifecycleState{case stopped
case started(Channel)case stopping(Channel)}
migrating this to Lifecycle currently would require to add an optional
var serverChannel: Channel?
and then the code would start to contain self.serverChannel!. The other option is to duplicate the state tracking in Lifecycle as well as the application but that's not nice either because the states can get out of sync.