MCPcopy Create free account
hub / github.com/easydiffusion/easydiffusion / setServerStatus

Function setServerStatus

ui/media/js/engine.js:207–209  ·  view source on GitHub ↗
(msgType, msg)

Source from the content-addressed store, hash-verified

205 const eventSource = new GenericEventSource(EVENTS_TYPES)
206
207 function setServerStatus(msgType, msg) {
208 return eventSource.fireEvent(EVENT_STATUS_CHANGED, { type: msgType, message: msg })
209 }
210
211 const ServerStates = {
212 init: "Init",

Callers 1

healthCheckFunction · 0.70

Calls 1

fireEventMethod · 0.80

Tested by

no test coverage detected