MCPcopy
hub / github.com/infinitered/gluegun / checkForUpdates

Method checkForUpdates

src/domain/builder.ts:153–156  ·  view source on GitHub ↗

* Check for updates randomly. * * @param frequency % frequency of checking * @return self.

(frequency: number)

Source from the content-addressed store, hash-verified

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.

Callers 2

builder.test.tsFile · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected