Skip to main content

Crate runledger_runtime

Crate runledger_runtime 

Source
Expand description

Async runtime loops for executing Runledger jobs against a persistence backend.

Use this crate to wire the operational pieces around runledger-core handlers and runledger-postgres storage:

A typical service builds a shared PostgreSQL pool, registers handlers in a registry::JobRegistry, and starts the worker, scheduler, and reaper loops with coordinated shutdown signals.

Re-exports§

pub use error::Error;
pub use error::ReaperError;
pub use error::Result;
pub use error::RuntimeError;
pub use error::SchedulerError;
pub use error::WorkerError;

Modules§

config
error
reaper
registry
scheduler
worker