Class ModelVariantTraversal<S>Abstract

Visits multiple model hierarchies simultaneously and builds state.

Type Parameters

  • S = void

Constructors

Properties

clusterState: undefined | ClusterState

Methods

  • This is the primary callback. It is invoked for every set of variants during traversal. It may optionally return state that is returned from traverse().

    Parameters

    • variants: VariantDetail

      the set of equivalent models

    • recurse: (() => S[])

      call this function to recurse into variant children

        • (): S[]
        • Returns S[]

    Returns S