Resolve "Background tasks scheduler"
Description
- This MR adds
background_tasks
module that handles background tasks to be run once, periodically or by a signal. -
Tasks
: Defines a task to be scheduled. -
*Trigger
: Different implementations of Trigger which tells if the task is ready to run. -
Scheduler
: Manages tasks and run tasks according to their set triggers.
Checklist
-
I have update updated the @version
string in main.go. See https://semver.org/ -
I have update CHANGELOG.md with a short description of changes. -
I have run swag init
to update the swagger docs.
Addresses #333
Edited by Dagim Sisay