Skip to main content

Crate durable

Crate durable 

Source

Re-exports§

pub use ctx::Ctx;
pub use ctx::RetryPolicy;
pub use ctx::TaskQuery;
pub use ctx::TaskSort;
pub use ctx::TaskSummary;
pub use error::DurableError;
pub use executor::Executor;
pub use executor::HeartbeatConfig;
pub use executor::RecoveredTask;

Modules§

ctx
error
executor

Structs§

DatabaseTransaction
Defines a database transaction, whether it is an open transaction and the type of backend to use

Enums§

TaskStatus

Functions§

init
Initialize durable: connect to Postgres and run migrations.

Attribute Macros§

step
Marks a function as a durable step.
workflow
Marks a function as a durable workflow.