System & Flow Control

Published Updated
Manage core execution flows, lifecycle triggers, conditional validation gating, delays, and background event routing.

System & Flow Control operators govern the lifecycle and logic branching of an experience, responding to events and coordinating transitions across runtime states.

Copy Text Operator for Clipboard Interactions#

Operator<DocsSdkOperatorsSystemCopyText>: Copies a designated string value to the user's OS clipboard upon receiving an execution trigger.

1. Functional Overview

The Copy Text operator automates OS clipboard interactions. When the Copy @Input receives a signal, the operator reads the string configured in textToCopy (or maps a dynamic incoming text payload) and writes it to the user's system clipboard, firing a Success output.

Copy Text

GENERAL_ALL.COPY_TEXT
Operator
Operator Type
COPY_TEXT
Operator Group
GENERAL_ALL

Copy Text Properties Details

Property & TypeDisplay NameSystem TypeDefault
text: string
Text to Copy
STRING
TEXT INPUT
""

@Input

@Input & TypeDisplay Name@Input TypeGroup
copy: () => void
Copy
OPERATOROPERATOR

@Output

@Output & TypeDisplay Name@Output TypeGroup
onCopied: AirEvent<void>
On Copied
OPERATOROPERATOR

Custom Command Operator for Event Callbacks#

Operator<DocsSdkOperatorsSystemCustomCommand>: Emits specific, custom string commands across the event hub to invoke unique developer callbacks.

1. Functional Overview

The Custom Command operator enables developers to inject bespoke actions into standard visual flows. When triggered, it broadcasts a configurable string command name along with custom metadata parameters, prompting external custom code listeners to execute.

Custom Command

GENERAL_TRIGGERS.CUSTOM_COMMAND
Operator
Operator Type
CUSTOM_COMMAND
Operator Group
GENERAL_TRIGGERS

Custom Command Properties Details

Property & TypeDisplay NameSystem TypeDefault
commandString: string
Custom Command
STRING
TEXT INPUT
""

@Output

@Output & TypeDisplay Name@Output TypeGroup
customCommand: AirEvent<void>
Custom Command
OPERATOROPERATOR

Event Router Operator for Flow Redirection#

Operator<DocsSdkOperatorsSystemEventRouter>: Standardizes and routes abstract event packets, translating payloads across different visual blocks.

1. Functional Overview

The Event operator serves as a router within visual logic graphs. It intercepts event triggers, encapsulates custom payload parameters, and dispatches them safely to appropriate listeners, helping decouple complex node-to-node signal connections.

Event

DATA_BLOCK.EVENT
Operator
Operator Type
EVENT
Operator Group
DATA_BLOCK

Event Properties Details

Property & TypeDisplay NameSystem TypeDefault
eventName: string
Event Name
STRING
TEXT INPUT
"default"

@Input

@Input & TypeDisplay Name@Input TypeGroup
publish: (payload: DataBlock[]) => void
Publish
DATA_BLOCKDATA_BLOCK

@Output

@Output & TypeDisplay Name@Output TypeGroup
subscribe: AirEvent<DataBlock[]>
Subscribe
DATA_BLOCKDATA_BLOCK

Exit Operator for Session & Frame Teardown#

Operator<DocsSdkOperatorsSystemExit>: Terminates the active scene session or exits the current running Aircada frame upon receiving an @Input signal.

1. Functional Overview

The Exit operator provides a safe, standard mechanism to close a running experience. It is an input-driven operator that remains dormant until it receives a signal on its Exit @Input, prompting the runtime container to dispose resources and redirect or close the viewport frame.

Exit

GENERAL_ALL.EXIT
Operator
Operator Type
EXIT
Operator Group
GENERAL_ALL
No configurable properties.

@Input

@Input & TypeDisplay Name@Input TypeGroup
exit: () => void
Exit
OPERATOROPERATOR

Increment Operator for Step Counters & Clamps#

Operator<DocsSdkOperatorsSystemIncrement>: Tracks a running numeric counter, adjusting values within bounds and outputting updates as strings.

1. Functional Overview

The Increment operator maintains sequential index tallies. Signals to the Up or Down @Inputs shift the count by incrementAmount, bound by min and max constraints. A Reset trigger returns it to resetValue, and updates are broadcasted through Output Value as strings.

Increment

GENERAL_ALL.INCREMENT
Operator
Operator Type
INCREMENT
Operator Group
GENERAL_ALL

Increment Properties Details

Property & TypeDisplay NameSystem TypeDefault
currentValue: float
Current Value
FLOAT
TEXT INPUT
0
incrementAmount: float
Increment Amount
FLOAT
TEXT INPUT
1
resetValue: float
Reset To Value
FLOAT
TEXT INPUT
0
min: float
Min Value
FLOAT
TEXT INPUT
0
max: float
Max Value
FLOAT
TEXT INPUT
1000

@Input

@Input & TypeDisplay Name@Input TypeGroup
up: () => void
Up
OPERATOROPERATOR
down: () => void
Down
OPERATOROPERATOR
reset: () => void
Reset
OPERATOROPERATOR

@Output

@Output & TypeDisplay Name@Output TypeGroup
outputValue: AirEvent<string>
Output Value
DATA_STRINGAIR_PROPERTY

On Start Operator for Scene Initialization#

Operator<DocsSdkOperatorsSystemOnStart>: Fires an @Output signal immediately when the experience or operator registers its setup phase.

1. Functional Overview

The On Start operator acts as the initial execution hook for logic flows in an Aircada experience. It serves as a bootstrap trigger, firing its On Start @Output immediately upon experience load. It has no properties or @Inputs, and is primarily used to seed initial variables, invoke data fetches, or trigger startup animations.

On Start

GENERAL_TRIGGERS.STARTUP
Operator
Operator Type
STARTUP
Operator Group
GENERAL_TRIGGERS
No configurable properties.

@Output

@Output & TypeDisplay Name@Output TypeGroup
onStart: AirEvent<void>
On Start
OPERATOROPERATOR

Open Link Operator for URL Navigation & Tabs#

Operator<DocsSdkOperatorsSystemOpenLink>: Navigates to a specified URL upon receiving an @Input signal, with configurations for browser tab routing.

1. Functional Overview

The Open Link operator redirects the user to external web resources, files, or companion experiences. When the Open Link @Input is triggered, the operator queries its url property and loads the address, with options in openInNewTab configuring tab targeting.

Open Link

GENERAL_ACTIONS.OPEN_LINK
Operator
Operator Type
OPEN_LINK
Operator Group
GENERAL_ACTIONS

Open Link Properties Details

Property & TypeDisplay NameSystem TypeDefault
openInNewTab: boolean
Open in new tab
BOOL
TOGGLE
true
url: string
URL
STRING
TEXT INPUT
"https://www.google.com"

@Input

@Input & TypeDisplay Name@Input TypeGroup
openLink: () => void
Open Link
OPERATOROPERATOR

String Match Operator for Text Validation#

Operator<DocsSdkOperatorsSystemStringMatch>: Compares an incoming text string with a reference value, firing specialized success triggers.

1. Functional Overview

The String Match operator validates incoming text payloads. It listens on Input Value, evaluating whether it matches the configured matchValue string (with optional case-sensitivity rules). It dispatches signals from the Match or Mismatch @Outputs accordingly.

String Match

GENERAL_ALL.STRING_MATCH
Operator
Operator Type
STRING_MATCH
Operator Group
GENERAL_ALL

String Match Properties Details

Property & TypeDisplay NameSystem TypeDefault
matchString: string
Match String
STRING
TEXT INPUT
""

@Input

@Input & TypeDisplay Name@Input TypeGroup
inputText: (payload: string) => void
Input Text
DATA_STRINGAIR_PROPERTY

@Output

@Output & TypeDisplay Name@Output TypeGroup
onMatch: AirEvent<void>
On Match
OPERATOROPERATOR
onMismatch: AirEvent<void>
On Mismatch
OPERATOROPERATOR

Throttle Operator for Event Rate Limiting#

Operator<DocsSdkOperatorsSystemThrottle>: Limits the frequency of rapid trigger signals, ensuring downstream nodes are not overloaded.

1. Functional Overview

The Throttle operator optimizes high-frequency events (like pointer moves or scrolling). It enforces a minimum milliseconds delay between subsequent executions. Rapid incoming signals are either dropped or buffered, letting only the first or last through inside the timing window.

Throttle

DATA_BLOCK.THROTTLE
Operator
Operator Type
THROTTLE
Operator Group
DATA_BLOCK

Throttle Properties Details

Property & TypeDisplay NameSystem TypeDefault
throttleSeconds: float
Delay (seconds)
FLOAT
RANGE SLIDER
1
gateMode: boolean
Gate mode (fixed interval)
BOOL
TOGGLE
false

@Input

@Input & TypeDisplay Name@Input TypeGroup
dataInput: (payload: DataBlock[]) => void
Data Input
DATA_BLOCKDATA_BLOCK

@Output

@Output & TypeDisplay Name@Output TypeGroup
dataOutput: AirEvent<DataBlock[]>
Data Output
DATA_BLOCKDATA_BLOCK

Timer Operator for Configurable Delay Clocks#

Operator<DocsSdkOperatorsSystemTimer>: Measures a configurable time interval, dispatching a completion trigger when the duration expires.

1. Functional Overview

The Timer operator measures specific execution delays. It begins a countdown when it receives a Start Timer signal, and can be paused or reset via Stop Timer and Reset Timer @Inputs. Once timerDuration (in seconds) has elapsed, it fires the On End @Output to trigger cascading actions.

Timer

GENERAL_ALL.TIMER
Operator
Operator Type
TIMER
Operator Group
GENERAL_ALL

Timer Properties Details

Property & TypeDisplay NameSystem TypeDefault
timerDuration: float
Length (seconds)
FLOAT
TEXT INPUT
5

@Input

@Input & TypeDisplay Name@Input TypeGroup
startTimer: () => void
Start Timer
OPERATOROPERATOR
stopTimer: () => void
Stop Timer
OPERATOROPERATOR
resetTimer: () => void
Reset Timer
OPERATOROPERATOR

@Output

@Output & TypeDisplay Name@Output TypeGroup
onEnd: AirEvent<void>
On End
OPERATOROPERATOR

Toggle Operator for Two-State Boolean Gates#

Operator<DocsSdkOperatorsSystemToggle>: Manages a two-state boolean switch, firing state-specific signals when toggled or explicitly adjusted.

1. Functional Overview

The Toggle operator manages binary logic gates. It handles three @Inputs: Toggle (which flips the active state), Set On (forces active), and Set Off (forces inactive). When the internal state changes, it dispatches corresponding On or Off outputs to coordinate sub-system updates.

Toggle

GENERAL_ALL.TOGGLE
Operator
Operator Type
TOGGLE
Operator Group
GENERAL_ALL
No configurable properties.

@Input

@Input & TypeDisplay Name@Input TypeGroup
toggle: () => void
Toggle
OPERATOROPERATOR
setOn: () => void
Set On
OPERATOROPERATOR
setOff: () => void
Set Off
OPERATOROPERATOR

@Output

@Output & TypeDisplay Name@Output TypeGroup
on: AirEvent<void>
On
OPERATOROPERATOR
off: AirEvent<void>
Off
OPERATOROPERATOR

Validation Gate Operator for Conditional Flow#

Operator<DocsSdkOperatorsSystemValidationGate>: Evaluates whether incoming parameters satisfy logical validation rules before allowing flow execution.

1. Functional Overview

The Validation Gate acts as a conditional firewall. When a trigger reaches its execution @Input, it evaluates the boolean status of target validation rules. If conditions are met, the event passes through the Success path; otherwise, it is blocked or rerouted through Failure.

Validation Gate

GENERAL_ALL.VALIDATION_GATE
Operator
Operator Type
VALIDATION_GATE
Operator Group
GENERAL_ALL

Validation Gate Properties Details

Property & TypeDisplay NameSystem TypeDefault
inputBlockIds: any
Input Blocks
STRING_ARRAY
UNIT SELECTOR
[]
enabled: boolean
Enabled
BOOL
TOGGLE
true

@Input

@Input & TypeDisplay Name@Input TypeGroup
gatedInput: () => void
Gated Input
OPERATOROPERATOR
checkValidation: () => void
Check Validation
OPERATOROPERATOR

@Output

@Output & TypeDisplay Name@Output TypeGroup
gatedOutput: AirEvent<void>
Gated Output
OPERATOROPERATOR
onValidationPassed: AirEvent<void>
On Validation Passed
OPERATOROPERATOR
onValidationFailed: AirEvent<void>
On Validation Failed
OPERATOROPERATOR