Implements the "Cache & network race" strategy: https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/#cache-and-network-race
Tries to fetch from the cache and the fetcher at the same time, resolving with the data of whichever fetching comes first.
type of the data to be cached.
Generated using TypeDoc
Implements the "Cache & network race" strategy: https://developers.google.com/web/fundamentals/instant-and-offline/offline-cookbook/#cache-and-network-race
Tries to fetch from the cache and the fetcher at the same time, resolving with the data of whichever fetching comes first.