Skip to main content

Module background

Module background 

Source
Expand description

Background-job provider plugins.

Scheduled / periodic / fire-and-forget execution analogous to APOC’s apoc.periodic.* family. Jobs run on a host-owned scheduler; this trait describes the job interface, not the scheduler itself. The host-side scheduler (uni/src/scheduler.rs) is delivered as part of M11.

Structs§

CancellationToken
Cooperative cancellation token.
JobContext
Per-run context.
JobDefinition
Static definition for a BackgroundJobProvider.
JobRunRecord
Bookkeeping record of a prior run; persisted in uni_system.background_jobs.

Enums§

ConcurrencyLimit
Concurrency limit for one job.
JobOutcome
Outcome of one job execution.
RetryPolicy
Retry policy on transient failure.
Schedule
When a background job runs.

Traits§

BackgroundJobProvider
A background-job provider.
JobHost
Marker trait for the host’s background-job execution facilities.