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

Interface Timer

queue.go:13–15  ·  view source on GitHub ↗

Timer is an interface that types implement to schedule and receive OnTimer callbacks.

Source from the content-addressed store, hash-verified

11// Timer is an interface that types implement to schedule and receive OnTimer
12// callbacks.
13type Timer interface {
14 OnTimer(t time.Time)
15}
16
17// Queue is a time-sorted collection of Timer objects.
18type Queue struct {

Callers 1

AdvanceMethod · 0.65

Implementers 1

objectqueue_test.go

Calls

no outgoing calls

Tested by

no test coverage detected