Fork: https://github.com/fburel/ESP32-Websocket
Arduino Event Manager This library brings the principle of Events/Hooks to Arduino. In short, it allows a user to respond to certain "events" quite easily.