MCPcopy
hub / github.com/g3n/engine / NewTimerManager

Function NewTimerManager

core/timer.go:30–35  ·  view source on GitHub ↗

NewTimerManager creates and returns a new timer manager

()

Source from the content-addressed store, hash-verified

28
29// NewTimerManager creates and returns a new timer manager
30func NewTimerManager() *TimerManager {
31
32 tm := new(TimerManager)
33 tm.Initialize()
34 return tm
35}
36
37// Initialize initializes the timer manager.
38// It is normally used when the TimerManager is embedded in another type.

Callers

nothing calls this directly

Calls 1

InitializeMethod · 0.45

Tested by

no test coverage detected