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>
get
Returns Promise<undefined | RequestQueueInfo>
getRequest
Parameters
id: string
Returns Promise<undefined | RequestOptions>
listHead
Parameters
optionaloptions: ListOptions
Returns Promise<QueueHead>
update
Parameters
newFields: { name?: string }
optionalname: string
Returns Promise<undefined | Partial<RequestQueueInfo>>
updateRequest
Parameters
request: UpdateRequestSchema
optionaloptions: RequestOptions
Returns Promise<QueueOperationInfo>