Homebrew 4D Game Engine In Rust, inspired by Engine4D

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 Commit Parent 01d17c56
+194 -31
2 changed files
+194 -31
2 changed files