Dependicus API Reference
    Preparing search index...

    Interface DataSource

    interface DataSource {
        dependsOn: readonly string[];
        name: string;
        softDependsOn?: readonly string[];
        fetch(dependencies: DirectDependency[], store: FactStore): Promise<void>;
        refreshLocal?(dependencies: DirectDependency[], store: FactStore): void;
    }

    Implemented by

    Index

    Properties

    dependsOn: readonly string[]
    name: string
    softDependsOn?: readonly string[]

    Like dependsOn, but sources listed here are waited for only if they exist in the pool.

    Methods