RSDResultObject

public struct RSDResultObject : RSDResult, Codable

RSDResultObject is a concrete implementation of the base result associated with a task, step, or asynchronous action.

  • The identifier associated with the task, step, or asynchronous action.

    Declaration

    Swift

    public let identifier: String
  • A String that indicates the type of the result. This is used to decode the result using a RSDFactory.

    Declaration

    Swift

    public let type: RSDResultType
  • The start date timestamp for the result.

    Declaration

    Swift

    public var startDate: Date = Date()
  • The end date timestamp for the result.

    Declaration

    Swift

    public var endDate: Date = Date()
  • Default initializer for this object.

    Declaration

    Swift

    public init(identifier: String, type: RSDResultType = .base)

    Parameters

    identifier

    The identifier string.

    type

    The RSDResultType for this result. Default = .base.