@Cards-TS
    Preparing search index...
    • Creates a machine that loops the run machine until the condition is met

      Type Parameters

      • T

        The controllers this machine will use

      Parameters

      • config: {
            afterAll?: (controllers: T) => void;
            afterEach?: (controllers: T) => void;
            beforeAll?: (controllers: T) => void;
            beforeEach?: (controllers: T) => void;
            breakingIf: (controllers: T) => boolean;
            id: string;
            run: MachineLike<T>;
        }
        • OptionalafterAll?: (controllers: T) => void

          A transition to run after breaking out

        • OptionalafterEach?: (controllers: T) => void

          A transition to run after each time running run

        • OptionalbeforeAll?: (controllers: T) => void

          A transition to run before running the run ever

        • OptionalbeforeEach?: (controllers: T) => void

          A transition to run before each time running run

        • breakingIf: (controllers: T) => boolean

          The condition determining when the machine should break

        • id: string

          The core node name / suffix to use

        • run: MachineLike<T>

          The core transition to run

      Returns Named<NestedMachine<T>>

      The machine