Sequence
This effect allows you to execute multiple effects, one after the other, in sequence.
JSON Format
{
"type": "sequence",
"effects": ...,
"synchronous": ...
}
Fields
| Field | Type | Required | Description |
|---|---|---|---|
effects | List<Effect> | ✓ | The list of effects to execute. |
synchronous | bool | ✓ | Optional parameter (true by default) to indicate if iteration should be done synchronously. If so, the app will wait until an effect is complete before continuing with the next effect in the given array of effects. For example, if the current effect displays a pop up (by using the showPopUp effect), it will wait until the pop up is dismissed before carrying on with the next effect in the sequence. Setting this to false will execute all the effects simultaneously. |