Skip to content

Instantly share code, notes, and snippets.

@uteke
Last active September 1, 2023 11:45
Show Gist options
  • Save uteke/2651048ea1c227017d36b71eb4c33f2e to your computer and use it in GitHub Desktop.
Save uteke/2651048ea1c227017d36b71eb4c33f2e to your computer and use it in GitHub Desktop.
Action processor contract
interface ActionProcessor<Action, Mutation, Event> {
operator fun invoke(action: Action): Flow<Pair<Mutation?, Event?>>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment