Label Step

Introduction

The Label Step creates named jump points in events that can be targeted by Goto Label Step for non-linear flow.

Interface

interface LabelStep {
  kind: 'label';
  condition?: string;
  label: string;
}

Properties

kind - Always 'label'

label - Unique label name

condition (optional) - Conditional execution

Example

{
  kind: 'label',
  label: 'retry_point'
}