mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
13 lines
293 B
C++
13 lines
293 B
C++
|
|
#include "Class/AsyncActions.h"
|
||
|
|
|
||
|
|
AsyncActions::AsyncActions(){};
|
||
|
|
|
||
|
|
void AsyncActions::loop() {
|
||
|
|
count++;
|
||
|
|
if (count > 5000) {
|
||
|
|
if(_cb) _cb; //что означает эта запись? это и есть вызов callback?
|
||
|
|
count = 0;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
AsyncActions* async;
|