MCPcopy
hub / github.com/MagicMirrorOrg/MagicMirror / setCallbacks

Method setCallbacks

defaultmodules/weather/providers/yr.js:56–59  ·  view source on GitHub ↗
(onData, onError)

Source from the content-addressed store, hash-verified

54 }
55
56 setCallbacks (onData, onError) {
57 this.onDataCallback = onData;
58 this.onErrorCallback = onError;
59 }
60
61 start () {
62 if (this.fetcher) {

Callers 14

initWeatherProviderFunction · 0.45
smhi_spec.jsFile · 0.45
openmeteo_spec.jsFile · 0.45
yr_spec.jsFile · 0.45
weathergov_spec.jsFile · 0.45
weatherapi_spec.jsFile · 0.45
weatherbit_spec.jsFile · 0.45
buienradar_spec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected