1
0
mirror of https://github.com/wqking/eventpp.git synced 2024-12-25 23:30:49 +08:00

Merge pull request #71 from cnnblike/patch-1

Update readme.md
This commit is contained in:
Wang Qi 2024-02-20 16:37:57 +08:00 committed by GitHub
commit da6638be49
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -127,6 +127,7 @@ dispatcher.dispatch(5);
### Using EventQueue
```c++
#include "eventpp/eventqueue.h"
eventpp::EventQueue<int, void (const std::string &, const bool)> queue;
queue.appendListener(3, [](const std::string s, bool b) {