Skip to content

Commit

Permalink
feat(request-queue): Add queueHasLockedRequests and clientKey into Re…
Browse files Browse the repository at this point in the history
…questQueueClientListAndLockHeadResult (#617)

Based on latest changes in API, updating type for
RequestQueueClientListAndLockHeadResult.

* `queueHasLockedRequests` - newly added parameter in response
* `clientKey` - this was there in past, just missing in type
  • Loading branch information
drobnikj authored Dec 10, 2024
1 parent 3557c20 commit f58ce98
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resource_clients/request_queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@ export interface RequestQueueClientListAndLockHeadOptions {

export interface RequestQueueClientListAndLockHeadResult extends RequestQueueClientListHeadResult {
lockSecs: number;
queueHasLockedRequests: boolean;
clientKey: string;
}

export interface RequestQueueClientListItem {
Expand Down

0 comments on commit f58ce98

Please sign in to comment.