r.job(...)
Overview
Section titled “Overview”r.job(name, options, handler) — registers a background job, qualified
to <feature>:job:<short> and executed on a BullMQ queue outside the
request pipeline. trigger is { on: handlerRef(s) } (fires after the
handler commits), { cron: "..." }, or { manual: true }; options cover
concurrency modes, retries/backoff, timeout, perTenant fan-out, and the
runIn lane (api/worker). The handler body stays an opaque code
span.
From packages/framework/src/engine/feature-ast/patterns.ts -> JobPattern