LoadableContent

public struct LoadableContent<DataType> where DataType : Equatable

A loadable object that contains loading informations

  • key

    Undocumented

    Declaration

    Swift

    public let key: NodeKey
  • Undocumented

    Declaration

    Swift

    public let isAsynchronous: Bool
  • Undocumented

    Declaration

    Swift

    public var data: DataType? { get }
  • Undocumented

    Declaration

    Swift

    public var isLoading: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var hasError: Bool { get }
  • Undocumented

    Declaration

    Swift

    public var errors: [Error] { get }
  • Undocumented

    Declaration

    Swift

    public func containError<T>(of err: T) -> Bool where T : Equatable, T : Error
  • Undocumented

    Declaration

    Swift

    public func refresh()