Source

public enum Source

Identifies where a served variant came from.

  • Variant assigned by the most recent successful /flags/ network call.

    Declaration

    Swift

    case network
  • Variant loaded from the on-disk persistence layer. persistedAt is the time the variant set was originally written to disk.

    Declaration

    Swift

    case persistence(persistedAt: Date)
  • Developer-supplied fallback returned because the SDK had no value to serve (flag not in the loaded set, flags never loaded, fetch failed under NetworkFirst, etc.).

    Declaration

    Swift

    case fallback