MCPcopy Create free account
hub / github.com/riverqueue/river / jobStatisticsFromInternal

Function jobStatisticsFromInternal

event.go:73–79  ·  view source on GitHub ↗
(stats *jobstats.JobStatistics)

Source from the content-addressed store, hash-verified

71}
72
73func jobStatisticsFromInternal(stats *jobstats.JobStatistics) *JobStatistics {
74 return &JobStatistics{
75 CompleteDuration: stats.CompleteDuration,
76 QueueWaitDuration: stats.QueueWaitDuration,
77 RunDuration: stats.RunDuration,
78 }
79}
80
81// eventSubscription is an active subscription for events being produced by a
82// client, created with Client.Subscribe.

Callers 2

distributeJobUpdatesMethod · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…