MCPcopy Index your code
hub / github.com/beevik/timerqueue / Len

Method Len

queue.go:37–39  ·  view source on GitHub ↗

Len returns the current number of timer objects in the queue.

()

Source from the content-addressed store, hash-verified

35
36// Len returns the current number of timer objects in the queue.
37func (q *Queue) Len() int {
38 return len(q.heap)
39}
40
41// Schedule schedules a timer for exectuion at time tm. If the
42// timer was already scheduled, it is rescheduled.

Callers 3

populateQueueFunction · 0.45
TestQueueFunction · 0.45
TestAdvanceFunction · 0.45

Calls

no outgoing calls

Tested by 3

populateQueueFunction · 0.36
TestQueueFunction · 0.36
TestAdvanceFunction · 0.36