File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ 2.0.8
2
+ ==========
3
+ New Features
4
+ ----------
5
+ - Added ` setWorkerOfflineIfDisconnected ` to WorkerOptions
6
+
7
+ Bug fixes
8
+ ----------
9
+ - Added ` setWorkerAttributes ` and ` setWorkerActivity ` fields to Supervisor type declaration
10
+
1
11
2.0.7
2
12
==========
3
13
Maintenance
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ export class Worker extends (EventEmitter as new () => TypedEmitter<WorkerEvents
36
36
37
37
export class Supervisor extends Worker {
38
38
monitor ( taskSid : string , reservationSid : string , extraParams : Object ) : Promise < void > ;
39
+ setWorkerAttributes ( workerSid : string , attributes : string ) : Promise < Worker > ;
40
+ setWorkerActivity ( workerSid : string , activitySid : string , options : Object ) : Promise < Worker > ;
39
41
}
40
42
41
43
interface WorkerEvents {
You can’t perform that action at this time.
0 commit comments