* Check for updates randomly. * * @param frequency % frequency of checking * @return self.
(frequency: number)
| 151 | * @return self. |
| 152 | */ |
| 153 | public checkForUpdates(frequency: number): Builder { |
| 154 | this.data.checkUpdate = Math.floor(Math.random() * 100) + 1 < frequency |
| 155 | return this |
| 156 | } |
| 157 | |
| 158 | /** |
| 159 | * Hand over the runtime. |
no outgoing calls
no test coverage detected