MCPcopy Index your code
hub / github.com/Monibuca/engine / resetTimer

Method resetTimer

stream.go:298–301  ·  view source on GitHub ↗
(dur time.Duration)

Source from the content-addressed store, hash-verified

296}
297
298func (r *Stream) resetTimer(dur time.Duration) {
299 r.Debug("reset timer", zap.Duration("timeout", dur))
300 r.timeout.Reset(dur)
301}
302
303func (r *Stream) action(action StreamAction) (ok bool) {
304 var event StateEvent

Callers 2

actionMethod · 0.95
runMethod · 0.95

Calls 2

DebugMethod · 0.65
ResetMethod · 0.65

Tested by

no test coverage detected