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

Merge pull request #47 from marsCatXdu/master

[document] fix incorrect output example in CallbackList tutorial 4
This commit is contained in:
Wang Qi 2022-07-21 20:02:42 +08:00 committed by GitHub
commit 468b7cf4f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,14 @@ callbackList();
```
**Output**
> Got callback 1.
> Got callback 3.
> forEach(Handle, Callback), invoked 0
> forEach(Handle, Callback), invoked 1
> forEach(Handle, Callback), removed second callback
> forEach(Handle, Callback), invoked 2
> forEach(Callback), invoked
> forEach(Callback), invoked
> Got callback 1.
> Got callback 3.
**Remarks**