Skip to content

Interface: KyooJob<T>

A job is a unit of work that can be processed by a worker. It contains a payload and optional metadata.

Type Parameters

Type ParameterDefault type
TKyooSerializable

Properties

PropertyType
expirationnull | DateTime<boolean>
headersRecord<string, KyooSerializable>
idstring
maxAttemptsnumber
payloadT
persistentboolean
priorityKyooJobPriority