Skip to content

Commit

Permalink
Merge branch 'feature/update-priority' of https://github.com/RaishavH…
Browse files Browse the repository at this point in the history
…anspal/p-queue into feature/update-priority
  • Loading branch information
RaishavHanspal committed Nov 21, 2024
2 parents ff4a177 + f7aa85a commit 6baad95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export type QueueAddOptions = {
@default 0
*/
readonly priority?: number;

/**
Unique identifier for the promise function, used to update its priority before execution. If not specified, it is auto-assigned as an incrementing bigint starting from 1n.

Check failure on line 74 in source/options.ts

View workflow job for this annotation

GitHub Actions / Node.js 20

Trailing spaces not allowed.

Check failure on line 74 in source/options.ts

View workflow job for this annotation

GitHub Actions / Node.js 18

Trailing spaces not allowed.
*/
Expand Down

0 comments on commit 6baad95

Please sign in to comment.