Interface IDiscoverEventData

Interface for the data emitted by link discovery statistic trackers. The parent node represents the URL where the discovered URL is retrieved from.

interface IDiscoverEventData {
    edge: [string, string];
    metadataChild: Record<any, any>[];
    metadataParent: Record<any, any>[];
}

Properties

edge: [string, string]

The directed edge ([parent, child]) discovered during query execution

metadataChild: Record<any, any>[]

Metadata of the discovered node

metadataParent: Record<any, any>[]

Metadata of the parent of the discovered node