Shows how to use a capturing lambda with the task queue
| 82 | |
| 83 | // Shows how to use a capturing lambda with the task queue |
| 84 | void queueDelegateCallback() |
| 85 | { |
| 86 | System.queueCallback([this]() { delegateCallback(); }); |
| 87 | } |
| 88 | |
| 89 | private: |
| 90 | Timer taskTimer; |