MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / updateCache

Method updateCache

js/botasaurus-server-js/src/server.ts:235–244  ·  view source on GitHub ↗
(scraperName: string)

Source from the content-addressed store, hash-verified

233 }
234
235 updateCache(scraperName: string): void {
236
237 if (
238 !(scraperName in this.controlsCache)
239 ) {
240 this.controlsCache[scraperName] = {
241 controls: createControls(this.scraperToInputJs[scraperName]),
242 };
243 }
244 }
245
246 addScraper(
247 scraper:Function, {

Callers 1

getControlsMethod · 0.95

Calls 1

createControlsFunction · 0.90

Tested by

no test coverage detected