KeywordPostingsMapLoader typedef

KeywordPostingsMapLoader = Future<KeywordPostingsMap> Function(Iterable<String> keywords)

Asynchronously retrieves a KeywordPostingsMap subset for a collection of keywords from a KeywordPostingsMap data source, usually persisted storage.

Implementation

typedef KeywordPostingsMapLoader = Future<KeywordPostingsMap> Function(
    Iterable<String> keywords);