{ previewOpen = false }} /> {#snippet header()}
{/snippet}
{#if mod.value.type === 'whileloopflow'} {#snippet extra()} {/snippet}
{#if selectedTab === 'loop'} {#if !noEditor} Add steps inside the while loop but have one of them use early stop/break in their Run settings (or do it at the loop level that will watch the last step) to break out of the while loop (otherwise it will loop forever and you will have to cancel the flow manually). {/if}
{ ;(mod.value as WhileloopFlow).squash = detail }} options={{ right: 'Squash', rightTooltip: 'Squashing a while loop runs all iterations on the same worker, using a single runner per step for the entire loop. This eliminates cold starts between iterations for supported languages (Bun, Deno, and Python).', rightDocumentationLink: 'https://www.windmill.dev/docs/flows/while_loops' }} />
{:else} {/if}
{/if}