Date, time, and duration utilities based on Day.js.
This package is part of the Alepha framework and can be installed via the all-in-one package:
npm install alepha
Alternatively, you can install it individually:
npm install @alepha/core @alepha/datetime
Run a function periodically.
It uses the setInterval
internally.
It starts by default when the context starts and stops when the context stops.