(timeoutId: number)
| 18 | } |
| 19 | |
| 20 | static clearTimeoutId(timeoutId: number) { |
| 21 | if (timeoutId && this.timeoutIdList.includes(timeoutId)) { |
| 22 | GLib.source_remove(timeoutId); |
| 23 | this.timeoutIdList.splice(this.timeoutIdList.indexOf(timeoutId), 1); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | static clearAllPendingTimeout() { |
| 28 | for (const timeoutId of this.timeoutIdList) { |
no test coverage detected