---
title: "Flush Barrier"
slug: "dataflow-nodes-flush-barrier"
updated: 2025-04-30T06:22:13Z
published: 2025-04-30T06:22:13Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.knovvu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flush Barrier

Accumulates all audio and events during runtime. Releases them in the order they were received after `Flush` is called.

## Parameters
&emsp; None.

## Inputs

### Audio
&emsp;Accepts Everything

### Events
&emsp;Accepts Everything

## Outputs

### Audio
&emsp;Writes all the incoming audio to output as is after `Flush` is received.

### Events
&emsp;Writes all the incoming events to output as is after `Flush` is received.


## Remarks  
- This node releases every accumulated audio and event after `Flush` is called. So until all the input is provided and the flush method is called this node does not output anything. Hence it is only suitable for batch usage.

### Project Structure
A sample project can be built as such:

<center>

![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%28924%29.png){height="" width=""}
</center>

The aim of this project is to only perform transcriptions after `Flush` is called.
Taking this a step further, we can create a project like:

<center>
    

![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%28925%29.png){height="" width=""}
</center>

In this project, all audio segments wait until Language Identifier outputs every Language Change event. Making sure the SR Http node does recognitions in the *Last Identified Language*. 
We can create a more complex project such as:

<center>
    

![image.png](https://cdn.document360.io/9bca2910-6a3b-4224-9470-43f91f9a6d57/Images/Documentation/image%28927%29.png){height="" width=""}
</center>

In this project, Language Identifier only outputs *one* Language Change event. The Audio Segment Picker node makes sure that the best segment is used for Language Identification.
This project is used to guarantee that the SR Http recognitions are performed in the *Most Probable Language*.

### Supported flow types 
Batch

## Release Notes
<div style="max-height: 200px; overflow-y: auto; overflow-x: hidden">
        <details>
            <summary> <strong> v3.2.0</strong> </summary>
            <ul>
                <li>Introduced Node.</li>
            </ul>
    </details>
</div>
