Interface VisitorQueryContext<TExtended>

interface VisitorQueryContext<TExtended> {
    data?: VisitorData<TExtended>;
    error?: Error;
    getData: ((getDataOptions?) => Promise<VisitorData<TExtended>>);
    isLoading?: boolean;
}

Type Parameters

  • TExtended extends boolean

Hierarchy (view full)

Properties

Stores current query data

error?: Error

Stores current query error

getData: ((getDataOptions?) => Promise<VisitorData<TExtended>>)

Performs identification request to server and returns visitors data.

Type declaration

isLoading?: boolean

Is true while query is loading

Generated using TypeDoc