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

Method Push

queue.go:134–138  ·  view source on GitHub ↗
(x interface{})

Source from the content-addressed store, hash-verified

132}
133
134func (h *timerHeap) Push(x interface{}) {
135 data := x.(*timerData)
136 *h = append(*h, data)
137 data.index = len(*h) - 1
138}
139
140func (h *timerHeap) Pop() interface{} {
141 n := len(*h)

Callers 1

ScheduleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected