()
| 24 | } |
| 25 | |
| 26 | performAction() { |
| 27 | return new Promise((resolve) => { |
| 28 | setTimeout(() => { |
| 29 | this.thing.setProperty('brightness', this.input.brightness); |
| 30 | this.thing.addEvent(new OverheatedEvent(this.thing, 102)); |
| 31 | resolve(); |
| 32 | }, this.input.duration); |
| 33 | }); |
| 34 | } |
| 35 | } |
| 36 | |
| 37 | /** |
nothing calls this directly
no test coverage detected