Last active
March 30, 2020 08:53
-
-
Save mig35/3e0b32b6566d3fa389702ccc0294abde to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open fun onCommandWasAdded(dataState: DataState): DataState = dataState | |
open fun onExecuteStarting(dataState: DataState): DataState = dataState | |
abstract suspend fun executeCommand(dataState: DataState): CommandResult | |
open fun onExecuteSuccess(dataState: DataState, result: CommandResult): DataState = dataState | |
open fun onExecuteFail(dataState: DataState, error: Throwable): DataState = dataState | |
open fun onExecuteFinished(dataState: DataState): DataState = dataState |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment