(configHandler: ConfigHandler)
| 105 | |
| 106 | // Initialization - load config and attach config listener |
| 107 | private async init(configHandler: ConfigHandler) { |
| 108 | const result = await configHandler.loadConfig(); |
| 109 | await this.handleConfigUpdate(result); |
| 110 | configHandler.onConfigUpdate( |
| 111 | this.handleConfigUpdate.bind(this) as (arg: any) => void, |
| 112 | ); |
| 113 | } |
| 114 | |
| 115 | set paused(value: boolean) { |
| 116 | this.pauseToken.paused = value; |
no test coverage detected