A baseclass for an IdentifyItem. Contains the information for a specific result and mechanisms to assist in loading the data.

interface IdentifyItem {
    data: any;
    format: IdentifyResultFormat;
    loaded: boolean;
    loading: Promise<void>;
    started: boolean;
    load(): Promise<void>;
}

Properties

Methods

Properties

data: any

Data payload for this item

Format of the data payload

loaded: boolean

Indicates if payload has finished loading and is available

loading: Promise<void>

A promise that resovles when the payload has loaded

started: boolean

Indicates if a load has been requested for the payload

Methods