MCPcopy Create free account
hub / github.com/1buran/rHttp / NewMessageWithTimer

Function NewMessageWithTimer

main.go:745–747  ·  view source on GitHub ↗

New message with timer.

(payload any)

Source from the content-addressed store, hash-verified

743
744// New message with timer.
745func NewMessageWithTimer(payload any) Timer {
746 return Timer{time.Now(), payload}
747}
748
749// Elapsed time from start of timer.
750func (t *Timer) elapsedTime() time.Duration {

Callers 1

UpdateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected