Reference
Classes
Core classes
- Scheduler
-
Central task scheduler with worker pool.
- Task
-
A unit of work managed by a Scheduler.
- CronExpr
-
A parsed cron expression.
- TaskResult
-
The result of a completed task.
Scheduler Methods
Methods for the Scheduler class
- Scheduler.every()
-
Schedule a recurring task at a fixed interval.
- Scheduler.cron()
-
Schedule a task using a cron expression.
- Scheduler.once()
-
Schedule a one-shot task after a delay.
- Scheduler.chain()
-
Execute tasks sequentially, passing each result to the next.
- Scheduler.submit()
-
Submit a fire-and-forget task.
- Scheduler.run()
-
Start the scheduler and block until stopped.
- Scheduler.stop()
-
Stop the scheduler gracefully.
Functions
Public functions