MCPcopy Create free account
hub / github.com/codnect/chrono / getDelay

Method getDelay

task.go:138–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138func (scheduledRunnableTask *ScheduledRunnableTask) getDelay() time.Duration {
139 return scheduledRunnableTask.triggerTime.Sub(time.Now())
140}
141
142func (scheduledRunnableTask *ScheduledRunnableTask) isPeriodic() bool {
143 return scheduledRunnableTask.period != 0

Callers 1

runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected