map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface DataSource<T>Internal

    Source of a query providing results.

    Note that AsyncStore is an implementation of Datasource.

    interface DataSource<T> {
        query(...args: any[]): QueryResult<T>;
    }

    Type Parameters

    • T
    Index

    Methods

    Methods

    • Function to query the DataSource. This method is executed using the parameters of the QueryExecution.

      Parameters

      • ...args: any[]

      Returns QueryResult<T>