Skip to content

Interface: KyooQueueWorkerOptions ​

Represents the options for the creation of a queue worker

Properties ​

PropertyTypeDescription
autoStartbooleanSchedules worker startup after 10 ms when true; defaults to false.
blockingbooleanAwaits each processor before polling again when true; defaults to true. Remarks False permits concurrent processing only when noAck is also true. Concurrent processors may accumulate if jobs arrive faster than they finish.
namestringIdentifier included in processor messages; defaults to a generated UUID.
noAckbooleanAcknowledges jobs automatically on retrieval when true; defaults to false. Remarks Concurrent polling requires both noAck true and blocking false. With manual acknowledgement, the polling loop always awaits processing.