# Wait Connections Block

<figure><img src="/files/0YKPQsG3n3fzQ3ao3KAR" alt=""><figcaption></figcaption></figure>

In Goless visual programming system you can execute a group of blocks in parallel. It is enough to create a branch on one of the blocks and we will get two parallel execution threads in the workflow as shown on the screenshot.

<figure><img src="/files/tHAHb0zLnM1hlwEsGQFG" alt=""><figcaption></figcaption></figure>

Note that no condition blocks are placed here, so both branches can be executed simultaneously. To wait for the execution of all the parallel threads of execution in the workflow, we need the Wait Connections block. *The Timeout (milliseconds)* value of the block sets how long the block waits for the whole thread to finish execution, the default value is 10 000 ms (10 seconds). When the timeout is reached, the workflow will continue to execute the next block.

**Only Continue a Specific Flow**

This option in the block allows you to select a single execution flow. If you select this option, a drop-down list of items connected to the block's input appears.

<figure><img src="/files/6Lb8fjskgzzf6K1HKLQr" alt=""><figcaption></figcaption></figure>

Note that without the Only Continue a Specific Flow option, the third New Tab block is executed 2 times in two execution threads. After the option is enabled in the settings, you can select the flow by its last element.

<figure><img src="/files/XqkDgsMnxfv3q6zV3Xhm" alt=""><figcaption></figcaption></figure>

After selecting one of the threads, the third New Tab block is executed 1 time after the Wait Connections block. Both execution threads before the Wait Connections block are successfully executed.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goless.com/blocks/general/wait-connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
