Create Combine Action
Parameters#
| Name | Required | Type | Description |
|---|---|---|---|
| Combine action settings | true | Settings | Action settings object |
createCombineAction({ actions: [/* some actions here */]}) waitAllResponse?: boolean ignoreRejection?: boolean
Settings#
actions#
| Type | Default | Required | Description |
|---|---|---|---|
| Action[] | - | Yes | The actions list. |
waitAllResponse#
| Type | Default | Required | Description |
|---|---|---|---|
| Boolean | - | No | Executed when all received actions are complete |
ignoreRejection#
| Type | Default | Required | Description |
|---|---|---|---|
| Boolean | - | No | Returns a completed or rejected action and does not interrupt other actions in the event of an error from one |
Note Warning: By default, if you do not specify
waitAllResponseorignoreRejectionparameters, then in case of an error in one action, the rest will not be called