Piper Push Cache Documentation Download Samples Contact  

Async Actor

The async actor provide one useful feature. It creates a new thread in the flow. Some tasks such as the switch task are synchronous but could potentially take time to process. Placing another thread in the flow before the switch provides a separate thread to do that processing.

The async task follows the first link out of the task. There are no additional parameters for the actor.

The JSON used to designate an async task in a flow description is:

    "async": {
        "actor": "async",
        "trace": false,
         "links": {
            "": "task-y"