Expand description
pg_task
Resumable state machine based Postgres tasks
Macros
- The macro implements the outer enum wrapper containing all the tasks
- Implements enum wrapper for a single task containing all it’s steps
Structs
- A worker for processing tasks
Enums
- The crate error
Traits
- A tait to implement on the outer enum wrapper containing all the tasks
- A tait to implement on each task step
Functions
- Schedules a task to be run after a specified delay
- Enqueues the task to be run immediately
- Schedules a task to run at a specified time in the future
Type Definitions
- The crate result
- Error of a task step
- Result returning from task steps