Commit graph

5 commits

Author SHA1 Message Date
Leon Mika dbce4f6dce Fixed incorrect assignable types order in invocation 2024-03-10 00:09:33 +00:00
Leon Mika e7cb026708 Added tests 2024-03-09 22:33:36 +00:00
Leon Mika 91d1562e0e Added TryFire
This allows handlers to return errors which will be returned to the caller.
Also replaced error returned from On with a panic.
2024-03-09 00:40:42 +00:00
Leon Mika a2269cd439 Rename Dispatcher to Bus 2020-09-06 20:22:19 +10:00
Leon Mika 5b42d91781 Initial commit 2020-08-23 08:15:12 +10:00