Skip to content

refactor: (WIP) ServerEvent overhaul#57

Draft
bdbai wants to merge 1 commit intoLagrangeDev:lagrangefrom
bdbai:refactor/server_ev
Draft

refactor: (WIP) ServerEvent overhaul#57
bdbai wants to merge 1 commit intoLagrangeDev:lagrangefrom
bdbai:refactor/server_ev

Conversation

@bdbai
Copy link
Contributor

@bdbai bdbai commented Jun 21, 2025

Refactoring of server event dispatching logic for a better, idiomatic API interface.

  • Introduce EventHandler trait
  • Replace HashMap- and if-downcast-else chain based dispatching with a big, top-down match
  • Remove excessive usage of tokio watchers

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.

1 participant