Something went wrong. Try again.
Homebrew 4D Game Engine In Rust, inspired by Engine4D
Something went wrong. Try again.
Fix EventBus: add Send+Sync, handler removal, type aliases
- Make handler type Box<dyn Fn(&dyn Any) + Send + Sync> (I1) - Add HandlerId return from on(), add off() method for removal (I2) - Add type aliases EventHandler and HandlerMap to fix clippy (I4) - Document handler dispatch limitation: cannot emit during dispatch (I3/T3) - Add handler_count() utility method - Update tests to use Arc/AtomicU32 for Send+Sync compatibility Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Author
sigilzero.dev Co-author Claude Opus 4.5 Date (Jan 31, 2026, 8:40 PM UTC) Commit
Copy SHA
Parent 01d17c56 01d17c56440deeaba169a412b56b3432e368cd5a