Skip to content

Instantly share code, notes, and snippets.

@mig35
Created March 30, 2020 08:54
Show Gist options
  • Save mig35/8a5e92d00998bb399fdf869cf3184dc9 to your computer and use it in GitHub Desktop.
Save mig35/8a5e92d00998bb399fdf869cf3184dc9 to your computer and use it in GitHub Desktop.
abstract fun shouldAddToPendingActions(
dataState: DataState,
pendingActionCommands: RemoveOnlyList<ActionCommand<*, *>>,
runningActionCommands: List<ActionCommand<*, *>>
): Boolean
abstract fun shouldBlockOtherTask(pendingActionCommand: ActionCommand<*, *>): Boolean
abstract fun shouldExecuteAction(
dataState: DataState,
pendingActionCommands: RemoveOnlyList<ActionCommand<*, *>>,
runningActionCommands: List<ActionCommand<*, *>>
): Boolean
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment