Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a few changes to function and parameter names #3

Merged
merged 3 commits into from
Feb 13, 2024

Conversation

dturner
Copy link
Contributor

@dturner dturner commented Feb 13, 2024

I have:

  • Moved the core API types (e.g. Mutation) into a file named Mutator.kt.
  • Renamed the builder function mutation to mutationOf to disambiguate it from the Mutation type, and because it's more consistent with other builder functions like flowOf, listOf and mutableStateOf.
  • In the Producer types and associated builder functions, renamed the parameter mutableFlows to inputs to better indicate that the purpose of this parameter is to provide the state inputs which are then mutated/transformed into new states.

@tunjid tunjid merged commit 8c19de9 into tunjid:develop Feb 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants