Skip to content

Releases: ori88c/delayed-async-task

README improvements

09 Oct 20:05
Compare
Choose a tag to compare

Key Features

  • README improvements:
    • Added a Table of Contents, for easier navigation.
    • Included a reference to the delayed-async-tasks-manager package, which extends this package's functionality for managing multiple tasks.

README, Unit Tests and implementation improvements

22 Sep 17:32
Compare
Choose a tag to compare

Key Features

  • Improved README with added API section.
  • Refined unit test comments and adjusted indentation from 4 spaces to 2.
  • Minor readability improvements in the implementation.

Upgrade Target Compatibility to ES2020

15 Aug 20:28
Compare
Choose a tag to compare

Key Features

  • Upgrade Target Compatibility to ES2020.

README refinements

14 Aug 15:24
Compare
Choose a tag to compare

Key Features

  • README refinements.
  • Slight refactor, removing unnecessary 'async' keyword.

README enhancements

04 Jul 22:05
Compare
Choose a tag to compare

Key Features

  • README enhancements.
  • Test comments refinements.

Initial Release

02 Jul 20:31
Compare
Choose a tag to compare

Key Features

  • Modern Substitute for Javascript's setTimeout: Specifically designed for scheduling asynchronous tasks.
  • Execution Status Getters: Allows users to check the task's execution status, helping to prevent potential race conditions.
  • Graceful and Deterministic Termination: The awaitCompletionIfCurrentlyExecuting method resolves once the currently executing task finishes or resolves immediately if the task is not executing.
  • Robust Error Handling: If the task throws an uncaught error, the error is captured and accessible via the uncaughtRejection getter.
  • Comprehensive Documentation: The class is thoroughly documented, enabling IDEs to provide helpful tooltips that enhance the coding experience.
  • Fully Tested: Covered extensively by unit tests.
  • No External Runtime Dependencies: Lightweight component, only development dependencies are used.
  • Non-Durable Scheduling: Scheduling stops if the application crashes or goes down.
  • ES6 Compatibility.
  • TypeScript support.