Conduit
Conduit — job queue and durable workflow engine for March.
This module is the top-level namespace. It re-exports the types shared across all subsystems (errors, config, job metadata, workflow types, etc.) and provides thin forwarding wrappers so callers can write Conduit.pause_cron(...) instead of the fully-qualified Conduit.API.pause_cron(...).
Typical startup sequence:
- Register performers: Conduit.API.register(job_type, performer, config)
- Register crons: Conduit.API.register_cron(cron_type, cron_config, performer)
- Register workflows: Conduit.API.register_workflow(wf_type, runner, wf_config)
- Start the engine: Conduit.API.start(config, storage)
All types below are intentionally kept in this file so that library consumers have a single import point for the entire Conduit type vocabulary.
Types
Interfaces
Functions
Permanently delete a cron schedule by id. See Conduit.API.cancel_cron.
Cancel a running workflow with a human-readable reason. See Conduit.API.cancel_workflow.
Return the node_id of the current leader from this node's in-process view.
Updated by the background leader-election task each heartbeat cycle. Returns
None if this node has not yet completed its first election tick.Enqueue multiple jobs in one call. See Conduit.API.enqueue_all.
Disable a cron schedule by id. See Conduit.API.pause_cron.
Pause all workers polling queue on this node. See Conduit.API.pause_queue.
Re-enable a paused cron schedule by id. See Conduit.API.resume_cron.
Resume all workers polling queue on this node. See Conduit.API.resume_queue.