Task
Access the Task API. You can instantiate a Task.Client to receive tasks from a different application. Please check Task Events for the full list of events that a Task.Client can subscribe to.
Example
The following example listens for incoming tasks.
From a different process, even on a different machine, you can then send tasks:
Classes
Functions
send
Constsend(params):Promise<void>
Send a job to your Task Client in a specific topic.
Parameters
Returns
Promise<void>
Example
Sending a task with a message to then make an outbound Call. Please note that the call is not performed automatically: your Task.Client gives you back your payload, which you should interpret by your own custom logic.