CacheAndNetwork

Try the cache, then also try the network.

If the data is in the cache, it is emitted, if not, no exception is thrown at that point. Then the network call is made, and if successful the value(s) are emitted, otherwise either an ApolloCompositeException (both cache miss and network failed) or an ApolloException (only network failed) is thrown.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int