()
| 57 | } |
| 58 | |
| 59 | unsubscribe() { |
| 60 | this.store.setState('task_subscription', JSON.stringify({ |
| 61 | enabled: false, |
| 62 | unsubscribed_at: new Date().toISOString(), |
| 63 | })); |
| 64 | const result = this.store.send({ |
| 65 | type: 'task_unsubscribe', |
| 66 | payload: {}, |
| 67 | }); |
| 68 | return result; |
| 69 | } |
| 70 | |
| 71 | recordClaim(taskId) { |
| 72 | this._stats.tasks_claimed++; |
no test coverage detected