MCPcopy Create free account
hub / github.com/algolia/cli / DurationMS

Method DurationMS

pkg/telemetry/events.go:120–125  ·  view source on GitHub ↗

DurationMS returns the time elapsed since the flow started, in milliseconds.

()

Source from the content-addressed store, hash-verified

118
119// DurationMS returns the time elapsed since the flow started, in milliseconds.
120func (f *FlowTracker) DurationMS() int64 {
121 if f == nil {
122 return 0
123 }
124 return time.Since(f.start).Milliseconds()
125}
126
127// Event is a fully assembled telemetry event, ready to be tracked.
128type Event struct {

Callers 8

AuthCompletedFunction · 0.80
AuthFailedFunction · 0.80
ApplicationCreateFailedFunction · 0.80

Calls

no outgoing calls