Queues
Corvis does not yet include a job queue module (producers, consumers, retries and jobs persisted in a broker such as Redis). There are no attributes to declare processors and no queue registry.
Alternative
- For background work inside the same process, emit an event with
EventEmitter::emit: each listener runs in its own Tokio task and the HTTP request does not wait (see Events). - For periodic work, use
#[interval]or#[cron]fromScheduleModule(see Task scheduling). - For a persistent queue, use the Rust client of the broker you prefer directly and register it as a provider with
Provider::use_factory(see Async providers). Corvis provides no retries or job visibility in that case.