HACacheTransformInfo

public struct HACacheTransformInfo<IncomingType, OutgoingType>

Information about a state change which needs transform

  • The value coming into this state change For populate transforms, this is the request’s response For subscribe transforms, this is the subscription’s event value

    Declaration

    Swift

    public var incoming: IncomingType
  • The current value of the cache For populate transforms, this is nil if an initial request hasn’t been sent yet and the cache not reset. For subscribe transforms, this is nil if the populate did not produce results (or does not exist).

    Declaration

    Swift

    public var current: OutgoingType
  • The current phase of the subscription

    Declaration

    Swift

    public var subscriptionPhase: HACacheSubscriptionPhase