Skip to content

reducers registery and all it implies#80

Merged
Idleness76 merged 1 commit into
mainfrom
feature/reducers-massive-work
Sep 8, 2025
Merged

reducers registery and all it implies#80
Idleness76 merged 1 commit into
mainfrom
feature/reducers-massive-work

Conversation

@The-Rabak
Copy link
Copy Markdown
Contributor

refactored the Reducer trait and individual reducers.
Added ReducerRegistery which maps channels to reducers and wired it into the main App.
the barrier function aggregates changes to a new PartialNode (will probably change how that works in the future) and sends it to ReducerRegistery::apply_all.
then ReducerRegistery loops over all channel types and for each of them applies the related reducers on the main state.

TODO:
prettify barrier function, version bumping and aggregation.
trace errors carefully, we might be losing reducer errors on the overall apply_all

@The-Rabak The-Rabak self-assigned this Sep 7, 2025
@Idleness76 Idleness76 merged commit bb0358a into main Sep 8, 2025
@Idleness76 Idleness76 deleted the feature/reducers-massive-work branch September 8, 2025 20:32
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