Worker state based on Worker SDK
Properties:
Name | Type | Description |
---|---|---|
tasks |
Map.<string, ITask> | map of active tasks by reservation SID |
activity |
Activity | current https://twilio.github.io/twilio-taskrouter.js/Activity.html of the worker |
activities |
Map.<string, Activity> | map of all https://twilio.github.io/twilio-taskrouter.js/Activity.html instances by SID |
attributes |
Object | attributes of the https://twilio.github.io/twilio-taskrouter.js/Worker.html |
worker |
IWorker | current worker instance |