RequestQueueClient
Index
Methods
addRequest
Parameters
request: RequestSchema
optionaloptions: RequestOptions
Returns Promise<QueueOperationInfo>
batchAddRequests
Parameters
requests: RequestSchema[]
optionaloptions: RequestOptions
Returns Promise<BatchAddRequestsResult>
delete
Returns Promise<void>
deleteRequest
Parameters
id: string
Returns Promise<unknown>
deleteRequestLock
Parameters
id: string
optionaloptions: DeleteRequestLockOptions
Returns Promise<void>
get
Returns Promise<undefined | RequestQueueInfo>
getRequest
Parameters
id: string
Returns Promise<undefined | RequestOptions>
listAndLockHead
Parameters
options: ListAndLockOptions
Returns Promise<ListAndLockHeadResult>
listHead
Parameters
optionaloptions: ListOptions
Returns Promise<QueueHead>
prolongRequestLock
Parameters
id: string
options: ProlongRequestLockOptions
Returns Promise<ProlongRequestLockResult>
update
Parameters
newFields: { name?: string }
optionalname: string
Returns Promise<undefined | Partial<RequestQueueInfo>>
updateRequest
Parameters
request: UpdateRequestSchema
optionaloptions: RequestOptions
Returns Promise<QueueOperationInfo>