Fbl.Dispatch¶
| Name | Mandatory | Description | Default | Type | 
|---|---|---|---|---|
| ⬅️ Input | The value to be dispatched. This value is then used to update the variable specified in the Name: parameter | Any | ||
| Output ➡️ | Outputs the input value, passed through unchanged. | Any | ||
| Form | No | The typed or untyped Form ID of the form to update. If none is provided, it will dispatch to the current form. | none | NoneInt16Var(Int16)Var(Fbl.TypedFormId) | 
| Behavior | No | The Behavior where the variable to update is located. | none | BehaviorVar(Behavior) | 
| Name | No | The variable name to update. | none | StringVar(String) | 
| Key | No | The optional key name if the variable to update is a table. | none | NoneStringVar(String) | 
| Optional | No | The target variable or Behaviors might not exist, in this case the dispatch does nothing. | false | Bool | 
| Undoable | No | If true, the dispatch will be flagged as undo-able (when Undo/Redo is supported). | false | Bool | 
| Unsafe | No | Don't perform type checks. | false | Bool | 
Dispatches a value to update a variable in a specified form. The form is identified by its Form ID and the variable is identified by its Behavior and Name. This operation is asynchronous and can cross Behaviors, serving as a means to communicate between them. However, when used within the same Behavior, it will execute inline. Supports optional updates and can be marked as undo-able.