Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloudwan/gohan
/ Add
Method
Add
job/queue.go:94–97 ·
view source on GitHub ↗
Add new job
(job Job)
Source
from the content-addressed store, hash-verified
92
93
//Add new job
94
func
(queue *Queue) Add(job Job) {
95
queue.waitGroup.Add(1)
96
queue.queue <- job
97
}
98
99
//Wait until all job get done
100
func
(queue *Queue) Wait() {
Callers
15
TestQueue
Function · 0.95
forEachList
Function · 0.95
publishEventWithOptions
Function · 0.45
cli_test.go
File · 0.45
setCachedSchemas
Method · 0.45
NewServer
Function · 0.45
addJSONContentTypeHeader
Function · 0.45
MapRouteBySchema
Function · 0.45
runSyncWatches
Method · 0.45
getToken
Function · 0.45
Watch
Method · 0.45
registerGohanFormats
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestQueue
Function · 0.76