Skip to main content
Version: 3.0

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
},
}

Index

Properties

inProgress

inProgress: string[]

Array of request keys representing those that being processed at the moment.

nextIndex

nextIndex: number

Position of the next request to be processed.

nextUniqueKey

nextUniqueKey: null | string

Key of the next request to be processed.

Page Options