Abstract lookup adapter interface implemented by AbstractLookupAdapter.

interface ILookupAdapter {
    sourceID?: string;
    supportedPattern?: RegExp;
    updateCallback?: Function | UpdateCallback;
    ask(url: string): boolean;
    getSourceID(): string;
    lookup(url: string): Promise<LookupResult>;
}

Hierarchy (View Summary)

Properties

sourceID?: string
supportedPattern?: RegExp
updateCallback?: Function | UpdateCallback

Methods