@CheckResult fun autoSave(sessionManager: SessionManager, interval: Long = DEFAULT_INTERVAL_MILLISECONDS, unit: TimeUnit = TimeUnit.MILLISECONDS): AutoSave
Starts configuring automatic saving of the state.