Skip to main content
Version: 2.3

RequestListState

Represents state of a RequestList. It can be used to resume a RequestList which has been previously processed. You can obtain the state by calling RequestList.getState() and receive an object with the following structure:

{
nextIndex: 5,
nextUniqueKey: 'unique-key-5'
inProgress: {
'unique-key-1': true,
'unique-key-4': true
},
}

Properties

nextIndex

Type: number

Position of the next request to be processed.


nextUniqueKey

Type: string

Key of the next request to be processed.


inProgress

Type: Object<string, boolean>

An object mapping request keys to a boolean value respresenting whether they are being processed at the moment.