commonMain.com.copperleaf.ballast.undo.UndoScope.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ballast-undo-jvm Show documentation
Show all versions of ballast-undo-jvm Show documentation
Adds undo/redo functionality to your ViewModel state.
package com.copperleaf.ballast.undo
import kotlinx.coroutines.CoroutineScope
public interface UndoScope : CoroutineScope {
public suspend fun restoreState(state: State)
}