@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Class ConversationRetry

    Control signal thrown by c.retry() inside a flow step (flow().do(), a .choose() then action) when the retried wait belongs to an earlier step. The flow interpreter catches it and replays the flow from that step; code after c.retry() in the step does not run (like c.end() / c.goto()). If you wrap a step body in try/catch, rethrow every ConversationError.

    Hierarchy (View Summary)

    Index
    • Parameters

      • prompt: string | undefined

        Message sent instead of the step's prompt when it is re-run (undefined: re-send the prompt).

      • flow: object

        Flow that owns the target step (internal).

      • index: number

        Step index the flow rewinds to (internal).

      • attempts: number

        Invalid attempts carried into the re-run wait (internal).

      Returns ConversationRetry

    prompt: string | undefined

    Message sent instead of the step's prompt when it is re-run (undefined: re-send the prompt).

    flow: object

    Flow that owns the target step (internal).

    index: number

    Step index the flow rewinds to (internal).

    attempts: number

    Invalid attempts carried into the re-run wait (internal).