RSDCopyStep

public protocol RSDCopyStep : RSDCopyWithIdentifier, RSDStep

RSDCopyStep is a step that supports creating a copy of itself that has specified properties mutated to return a new instance and/or includes mutated properties.

  • Copy the step to a new instance with the given identifier and user info.

    Declaration

    Swift

    func copy(with identifier: String, decoder: Decoder?) throws -> Self

    Parameters

    identifier

    The new identifier.

    decoder

    A decoder that can be used to decode properties on this step.