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 resource was wiped, and latestData is now nil.

    Declaration

    Swift

    case wipe