MCPcopy
hub / github.com/wavetermdev/waveterm / GetJobConnStatus

Function GetJobConnStatus

pkg/jobcontroller/jobcontroller.go:521–529  ·  view source on GitHub ↗
(jobId string)

Source from the content-addressed store, hash-verified

519}
520
521func GetJobConnStatus(jobId string) string {
522 jobControllerLock.Lock()
523 defer jobControllerLock.Unlock()
524 status, exists := jobConnStates[jobId]
525 if !exists {
526 return JobConnStatus_Disconnected
527 }
528 return status
529}
530
531func SetJobConnStatus(jobId string, status string) {
532 jobControllerLock.Lock()

Callers 3

GetBlockJobStatusFunction · 0.85
CheckJobConnectedFunction · 0.85
restartStreamingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected