Skip to content

Initial Release

Compare
Choose a tag to compare
@ori88c ori88c released this 02 Jul 20:31
· 9 commits to main since this release

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.