We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83523c0 commit 7346754Copy full SHA for 7346754
cores/esp8266/CallBackList.h
@@ -64,7 +64,7 @@ class CallBackList
64
}
65
66
template<typename... Args>
67
- void execute(Args... params) {
+ int execute(Args... params) {
68
for(auto it = std::begin(callBackEventList); it != std::end(callBackEventList); ) {
69
CallBackHandler &handler = *it;
70
if (handler->allowRemove() && handler.unique()) {
@@ -75,6 +75,7 @@ class CallBackList
75
++it;
76
77
78
+ return callBackEventList.size();
79
80
};
81
0 commit comments