macaroni

async

Description: The async executor executes a sequence of executors asynchronous from other executors at the same level. All executors in the sequence underneath the async executor will execute synchronously to each other.

Parent: execute, then, else Value: sequence of executors, required

# sequence form
async:
- executor1, required
- executor2, optional
- ...

# sequence example
- name: async example
  triggers:
  - phrase: 'example async'
  execute:
  - async:
    - display: 1
    - display: 2
    - display: 3
    - display: 4
  - async: [display: 5, display: 6, display: 7, display: 8]
  - display: 'async example done'

Additional Information: In the example, async 1-4 will be kicked off before async 5-8 and both will be kicked off before the done display. There is no guarantee which will be executed first between display: 1 display: 5 and display: async example done but 1-4 and 5-8 will be in order.

Status: ✅ IMPLEMENTED