MCPcopy Create free account
hub / github.com/SmingHub/Sming / queueDelegateCallback

Method queueDelegateCallback

samples/Basic_Delegates/app/application.cpp:84–87  ·  view source on GitHub ↗

Shows how to use a capturing lambda with the task queue

Source from the content-addressed store, hash-verified

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

Callers 1

initFunction · 0.80

Calls 1

queueCallbackMethod · 0.45

Tested by

no test coverage detected