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§
Structs§
- Database
Transaction - Defines a database transaction, whether it is an open transaction and the type of backend to use
Enums§
Functions§
- init
- Initialize durable: connect to Postgres, run migrations, start heartbeat, and recover stale tasks from prior crashes.
- init_db
- Initialize durable: connect to Postgres and run migrations only.
- init_
with_ config - Like
initbut with a customHeartbeatConfig.