mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-12-18 21:23:29 +00:00
스킵 구현
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
\page collecting-reactions Collecting Reactions
|
||||
|
||||
D++ comes with many useful helper classes, but amongst these is something called dpp::collector. Collector is a template which can be specialised to automatically collect objects of a predetermined type from events for a specific interval of time. Once this time period is up, or the class is otherwise signalled, a method is called with the complete set of collected objects.
|
||||
|
||||
In the example below, we will use it to collect all reactions on a message.
|
||||
|
||||
\include{cpp} collect_reactions.cpp
|
||||
|
||||
Reference in New Issue
Block a user