System & Flow Control
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#
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
COPY_TEXTGENERAL_ALLCopy Text Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
text: string | Text to Copy | STRINGTEXT INPUT | "" |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
copy: () => void | Copy | OPERATOR | OPERATOR |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
onCopied: AirEvent<void> | On Copied | OPERATOR | OPERATOR |
Custom Command Operator for Event 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
CUSTOM_COMMANDGENERAL_TRIGGERSCustom Command Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
commandString: string | Custom Command | STRINGTEXT INPUT | "" |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
customCommand: AirEvent<void> | Custom Command | OPERATOR | OPERATOR |
Event Router Operator for Flow Redirection#
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
EVENTDATA_BLOCKEvent Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
eventName: string | Event Name | STRINGTEXT INPUT | "default" |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
publish: (payload: DataBlock[]) => void | Publish | DATA_BLOCK | DATA_BLOCK |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
subscribe: AirEvent<DataBlock[]> | Subscribe | DATA_BLOCK | DATA_BLOCK |
Exit Operator for Session & Frame Teardown#
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
EXITGENERAL_ALL@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
exit: () => void | Exit | OPERATOR | OPERATOR |
Increment Operator for Step Counters & Clamps#
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
INCREMENTGENERAL_ALLIncrement Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
currentValue: float | Current Value | FLOATTEXT INPUT | 0 |
incrementAmount: float | Increment Amount | FLOATTEXT INPUT | 1 |
resetValue: float | Reset To Value | FLOATTEXT INPUT | 0 |
min: float | Min Value | FLOATTEXT INPUT | 0 |
max: float | Max Value | FLOATTEXT INPUT | 1000 |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
up: () => void | Up | OPERATOR | OPERATOR |
down: () => void | Down | OPERATOR | OPERATOR |
reset: () => void | Reset | OPERATOR | OPERATOR |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
outputValue: AirEvent<string> | Output Value | DATA_STRING | AIR_PROPERTY |
On Start Operator for Scene Initialization#
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
STARTUPGENERAL_TRIGGERS@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
onStart: AirEvent<void> | On Start | OPERATOR | OPERATOR |
Open Link Operator for URL Navigation & Tabs#
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
OPEN_LINKGENERAL_ACTIONSOpen Link Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
openInNewTab: boolean | Open in new tab | BOOLTOGGLE | true |
url: string | URL | STRINGTEXT INPUT | "https://www.google.com" |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
openLink: () => void | Open Link | OPERATOR | OPERATOR |
String Match Operator for Text Validation#
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
STRING_MATCHGENERAL_ALLString Match Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
matchString: string | Match String | STRINGTEXT INPUT | "" |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
inputText: (payload: string) => void | Input Text | DATA_STRING | AIR_PROPERTY |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
onMatch: AirEvent<void> | On Match | OPERATOR | OPERATOR |
onMismatch: AirEvent<void> | On Mismatch | OPERATOR | OPERATOR |
Throttle Operator for Event Rate Limiting#
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
THROTTLEDATA_BLOCKThrottle Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
throttleSeconds: float | Delay (seconds) | FLOATRANGE SLIDER | 1 |
gateMode: boolean | Gate mode (fixed interval) | BOOLTOGGLE | false |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
dataInput: (payload: DataBlock[]) => void | Data Input | DATA_BLOCK | DATA_BLOCK |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
dataOutput: AirEvent<DataBlock[]> | Data Output | DATA_BLOCK | DATA_BLOCK |
Timer Operator for Configurable Delay Clocks#
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
TIMERGENERAL_ALLTimer Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
timerDuration: float | Length (seconds) | FLOATTEXT INPUT | 5 |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
startTimer: () => void | Start Timer | OPERATOR | OPERATOR |
stopTimer: () => void | Stop Timer | OPERATOR | OPERATOR |
resetTimer: () => void | Reset Timer | OPERATOR | OPERATOR |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
onEnd: AirEvent<void> | On End | OPERATOR | OPERATOR |
Toggle Operator for Two-State Boolean Gates#
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
TOGGLEGENERAL_ALL@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
toggle: () => void | Toggle | OPERATOR | OPERATOR |
setOn: () => void | Set On | OPERATOR | OPERATOR |
setOff: () => void | Set Off | OPERATOR | OPERATOR |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
on: AirEvent<void> | On | OPERATOR | OPERATOR |
off: AirEvent<void> | Off | OPERATOR | OPERATOR |
Validation Gate Operator for Conditional Flow#
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
VALIDATION_GATEGENERAL_ALLValidation Gate Properties Details
| Property & Type | Display Name | System Type | Default |
|---|---|---|---|
inputBlockIds: any | Input Blocks | STRING_ARRAYUNIT SELECTOR | [] |
enabled: boolean | Enabled | BOOLTOGGLE | true |
@Input
| @Input & Type | Display Name | @Input Type | Group |
|---|---|---|---|
gatedInput: () => void | Gated Input | OPERATOR | OPERATOR |
checkValidation: () => void | Check Validation | OPERATOR | OPERATOR |
@Output
| @Output & Type | Display Name | @Output Type | Group |
|---|---|---|---|
gatedOutput: AirEvent<void> | Gated Output | OPERATOR | OPERATOR |
onValidationPassed: AirEvent<void> | On Validation Passed | OPERATOR | OPERATOR |
onValidationFailed: AirEvent<void> | On Validation Failed | OPERATOR | OPERATOR |