From f7aa85a8480685b07de847426bfddbb0faffcbeb Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 21 Nov 2024 03:55:28 +0700 Subject: [PATCH] Update options.ts --- source/options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/source/options.ts b/source/options.ts index 7bc4c64..364ee0b 100644 --- a/source/options.ts +++ b/source/options.ts @@ -69,6 +69,7 @@ export type QueueAddOptions = { @default 0 */ readonly priority?: number; + /** Unique identifier for the promise function. This can be used to update priority, before it gets executed.