NewDataSource
public enum NewDataSource : String, CustomStringConvertible
Possible sources of ResourceEvent.newData
.
-
The new value of
latestData
comes from a successful network request.Declaration
Swift
case network
-
The new value of
latestData
comes from anEntityCache
.Declaration
Swift
case cache
-
The new value of
latestData
came from a call toResource.overrideLocalData(...)
.Declaration
Swift
case localOverride
-
The resource was wiped, and
latestData
is now nil.Declaration
Swift
case wipe
-
Declaration
Swift
public var description: String { get }