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

Method getLastTask

src/TaskSchedulerDeclarations.h:2979–2979  ·  view source on GitHub ↗

* @brief Returns a pointer to the last task in the scheduler's task chain * * This method provides direct access to the last task in the internal linked list * of tasks managed by this scheduler. It's useful for reverse iteration through * the task chain and for advanced task management operations. * * @return Pointer to the last task in the chain, or nullptr if no ta

Source from the content-addressed store, hash-verified

2977 * @endcode
2978 */
2979 __TASK_INLINE Task* getLastTask() { return iLast; };
2980#endif // _TASK_EXPOSE_CHAIN
2981
2982#ifdef _TASK_THREAD_SAFE

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected