Skip to main content

enqueue

method Deno.AtomicOperation.prototype.enqueue
Jump to headingAtomicOperation.prototype.enqueue(
value: unknown,
options?: { delay?: number; keysIfUndelivered?: 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 Jump to heading

Jump to headingvalue: unknown
optional
Jump to headingoptions: { delay?: number; keysIfUndelivered?: KvKey[]; backoffSchedule?: number[]; }

Return Type Jump to heading

this
Back to top