Deno.AtomicOperation.prototype.enqueue - Deno documentation
method Deno.AtomicOperation.prototype.enqueue
AtomicOperation.prototype.enqueue(
value: unknown,
options?: { delay?: number; keysIfUndelivered?: Deno.KvKey[]; backoffSchedule?: number[]; },
): this

Add to the operation a mutation that enqueues a value into the queue if all checks pass during the commit.

Parameters

value: unknown
optional
options: { delay?: number; keysIfUndelivered?: Deno.KvKey[]; backoffSchedule?: number[]; }

Return Type

this