Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Bus

An EventBus using decorators, originated from Spherical, but this code is from Vape Rewrite. Generated using Grok because I'm lazy. This EventBus looks a lot like Google's event bus and other similar event buses in Java, because I like it that way (and also event buses in TS don't really look good).

Cool features:

  • Strict-ish types (if you are missing parameters, it won't error, but if you add more or change the type, it will error)
  • Decorators recommended, but on and off are available as methods on the bus itself.
  • You don't need to spam a bunch of on/off calls

License

AGPL, womp womp.

Usage

I'm not duplicating this in the README, as the module doc already covers it.

About

An Event Bus that looks like ones from Java.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages