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.