Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/panjf2000/ants
/ isEmpty
Method
isEmpty
worker_queue.go:44–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
42
type
workerQueue
interface
{
43
len() int
44
isEmpty() bool
45
insert(worker) error
46
detach() worker
47
refresh(duration time.Duration) []worker
// clean up the stale workers and return them
Callers
2
TestNewWorkerStack
Function · 0.65
TestNewLoopQueue
Function · 0.65
Implementers
2
loopQueue
worker_loop_queue.go
workerStack
worker_stack.go
Calls
no outgoing calls
Tested by
2
TestNewWorkerStack
Function · 0.52
TestNewLoopQueue
Function · 0.52