• Initialize the state machine at a specific lifecycle phase. Called from KosModel lifecycle hooks.

    Parameters

    • modelInstance: any

      The model instance

    • lifecycle: string

      The current lifecycle phase

    Returns void