Skip to content

Releases: arkhipenko/TaskScheduler

Version 3.7.0

11 Oct 15:28
Compare
Choose a tag to compare
  • bug fix: Internal Status Request object completes with TASK_SR_CANCEL status if the task was canceled.
  • bug fix: Internal Status Request object completes with TASK_SR_ABORT status if the task was aborted.
  • feature: Status Requests with TASK_SR_ABORT status also abort dependent tasks
  • feature: added TScheduler.hpp and TSchedulerDeclarations.hpp - a workaround for conflicting declarations (e.g., nRF52840 using Adafruit Core) using namespace TS (credit: https://github.com/vortigont)
  • feature: added ability for Task to "self-destruct" on disable. Useful for dynamic task management.
  • Added updated example 19 for this functionality. Updated the Sketch Template. (Thanks, https://github.com/vortigont for the idea).

Version 3.6.0

17 Dec 15:18
Compare
Choose a tag to compare
  • feature: added adjust method to Task object. adjust(int32_t delta) moves the entire schedule forward (positive delta) or backward (negative delta) by that many milliseconds (microseconds). This is helpful if for some reason you need to adjust the "start" time of scheduling to align with RTC "zero" seconds (for instance) or postpone one task while the other task is running.

  • feature: added example 27 demonstrating how to use TaskScheduler in PlatformIO projects.

  • feature: added _TASK_THREAD_SAFE compile option for instances of TaskScheduler running under preemptive schedulers like FreeRTOS. Under certain conditions, task scheduling was adversely affected and led to unexpected results. Enabling _TASK_THREAD_SAFE compile option eliminates such occurrences.

Version 3.4.0

24 Sep 18:15
Compare
Choose a tag to compare
  • feature: ability to Enable/Disable and Pause/Resume scheduling
  • feature: optional use of external millis/micros methods

Version 3.3.0

28 May 01:15
Compare
Choose a tag to compare

Timeout functionality for StatusRequest objects

Version 3.2.2

26 Dec 15:56
Compare
Choose a tag to compare

features:

  • cancel() - disable Task with a "canceled" flag - indicating premature task completion
  • canceled() - query if Task was canceled or disabled normally
  • abort() - disable Task without calling onDisable() method
  • enable() and setWaiting() method varieties return boolean status indicating if task was indeed enabled (true) or remained disabled (false)

bug fixes:

  • restart() methods should set the number of iterations before onEnable is called, so onEnable could change it if necessary

Version 3.2.0

17 Sep 02:08
Compare
Choose a tag to compare
v3.2.0

v3.2.0