[ANN]: Mediator2 - a mediator pattern implementation for Lua

81 views
Skip to first unread message

Thijs Schreijer

unread,
May 19, 2025, 1:41:02 PMMay 19
to lu...@googlegroups.com
List,

Happy to announce the availability of the Mediator2 module [1].

It is an implementation of the Mediator pattern for Lua. It is based of the original (but now abandoned) module by Olivine Labs [2].

I specifically needed a module to handle incoming MQTT messages, hence I needed to extend the module to support wildcards. But after going over the code it had several bugs and had written I-am-a-javascript-port all over it. So this version is not compatible with the original it has several breaking changes in its API.

Installation is easiest using LuaRocks:

> luarocks install mediator2

All comments are welcome!

Thijs

docs: https://tieske.github.io/mediator2/
[1]: https://github.com/Tieske/mediator2
[2]: https://github.com/Olivine-Labs/mediator_lua

Denis Dos Santos Silva

unread,
May 20, 2025, 11:51:33 AMMay 20
to lua-l
awesome job!!!
Reply all
Reply to author
Forward
0 new messages