{ if (isSuspendEnabled && flowModule.suspend != undefined) { flowModule.suspend = undefined } else { flowModule.suspend = { required_events: 1, timeout: 1800 } } }} options={{ right: 'Suspend flow execution until events received' }} />
Number of events to wait for {#if flowModule.suspend} {:else} {/if} Timeout (in seconds) {#if flowModule.suspend} {:else} {/if}
{ if (isSleepEnabled && flowModule.sleep != undefined) { flowModule.sleep = undefined } else { flowModule.sleep = { type: 'static', value: 0 } } }} options={{ right: 'Sleep after module successful execution' }} />
Sleep for duration (seconds) {#if flowModule.sleep && schema.properties['sleep']}
{ editor?.insertAtCursor(detail) }} >
{:else} {/if}