[How-to] Middleware system for event handler in lua

This system will allow you to reduce common code around your Event Handlers.

Also if many agree to the same specification, it will allow better interoperability between modders and sharing of resources. Like a logger lib / fetching data lib / …

Here it is under a gist :

1 Like

I like this! I’ll try it when I get home.