Event Barrier
  • 14 Jul 2025
  • 1 Minute to read
  • Contributors
  • PDF

Event Barrier

  • PDF

Article summary

Event Barrier node, makes sure crucial events of an utterance are sent before other events.

A Key Event is specified as a parameter. For each Event Group (Utterance), events are held in a queue until a Key Event for that group arrives. Once it does:

  • The Key Event is emitted first.
  • Then, all queued events from the same group are emitted in the order they arrived.

The Key Event only affects its own group—it does not trigger the release of events from other groups.

Parameters

name
description
default
Key Event's NameName of the event that will be sent before any other event of the same group.
Example

For example, If we want to send an SR Milestone event only after the Language Detected event of the same utterance, we would assign Language Detected as the parameter.

Inputs

Audio

none

Events

All

Outputs

Audio

none

Events

All

Remarks

Additional behavior to note
  • If a Key Event for a group arrives before any other events of that group, subsequent events will pass through immediately without being queued.
  • Multiple Key Events can be received over time, each independently enabling a flush or pass-through for its specific group.

Project Structure

In the figure below, you can see an example project.

  • Sentiment node config is prepared to send empty results.
  • The Key Event Name of Event Barrier is set as Sentiment.

image.png

image.png

With this project, we make sure that every utterance, a Sentiment event is sent before the corresponding SR Milestone event.

Supported flow types

Stream, Batch

Release Notes

v4.1.0
  • Introduced node.

Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.