Skip to content

store/processorBatch#

selectProcessorBatch()#

function selectProcessorBatch(state): ProcessorBatchState;

Parameters#

Parameter Type
state RootState

Returns#

ProcessorBatchState


batchCancelRequested#

const batchCancelRequested: any;

batchDismissed#

const batchDismissed: any;

batchProgress#

const batchProgress: any;

batchRequestFailed#

const batchRequestFailed: any;

batchStarted#

const batchStarted: any;

processorBatch#

const processorBatch: any;

ProcessorBatchScan#

Properties#

error#

error: string;

Why this scan failed; empty for every other status.

scan#

scan: ScanSetEntry;

status#

status: ApplyProcessorScanStatus;

ProcessorBatchState#

Properties#

cancelling#

cancelling: boolean;

A cancel was asked for but the backend has not confirmed the run ended.

failed#

failed: number;

requestError#

requestError: string;

The request itself could not be sent, which is not a scan failing.

requestId#

requestId: string | null;

running#

running: boolean;

True between the request and the backend's done push.

scans#

scans: ProcessorBatchScan[];

succeeded#

succeeded: number;

total#

total: number;