BinChengZhao / delay-timer

Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.
Apache License 2.0
309 stars 23 forks source link

Release v0.4.0 . #11

Closed BinChengZhao closed 3 years ago

BinChengZhao commented 3 years ago

v0.4.0 New features:

1. Support dynamic modification of running tasks.
2. Support get handle `TaskInstancesChain` after insert task, and get running task instance `TaskInstance` dynamically.

  2.1. The task instance of a running task can be dynamically cancelled.
  2.2. There are three types of cancellation: synchronous blocking cancellation, time-out-limited cancellation, and asynchronous cancellation.
  2.3. Support reading the running status of running tasks.

3. Support to get the output of internal asynchronous subtask process.

Update dependency :

Replace waitmap -> dashmap .
Update cron_clock .

Update examples:

Add, async-std & tokio use cases.
Add, dynamically cancel running task example case.

Enriched documentation.