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 1237d9f commit bbbc3a0Copy full SHA for bbbc3a0
README.md
@@ -53,10 +53,15 @@ Include the header file:
53
In the setup method, add an function callback that gets fired once in the future:
54
55
```
56
- // Create a task scheduled once every 100 miliis
+ // Create a task scheduled once every 100 miliis
57
taskManager.scheduleOnce(100, [] {
58
// some work to be done.
59
});
60
+
61
+ // Create a task that's scheduled every second
62
+ taskManager.scheduleFixedRate(1, [] {
63
+ // work to be done.
64
+ }, TIME_SECONDS);
65
66
67
You can also create a class that extends from `Executable` and schedule that instead. For example:
0 commit comments