Crate pg_task

source ·
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

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