MCPcopy Create free account
hub / github.com/arkhipenko/TaskScheduler / basic_callback

Function basic_callback

tests/test-scheduler-basic-thorough.cpp:179–183  ·  view source on GitHub ↗

* @brief Basic callback function for general testing * * Simple callback that increments counter and records execution. * Used for fundamental task execution verification. */

Source from the content-addressed store, hash-verified

177 * Used for fundamental task execution verification.
178 */
179void basic_callback() {
180 callback_counter++;
181 test_output.push_back("basic_callback");
182 std::cout << "Basic callback executed at " << millis() << "ms" << std::endl;
183}
184
185/**
186 * @brief First test callback for multi-callback scenarios

Callers

nothing calls this directly

Calls 1

millisFunction · 0.85

Tested by

no test coverage detected