(stopCh chan struct{}, logger g.LoggerType, emptyQueueFunc func() bool)
| 928 | } |
| 929 | |
| 930 | func NewTimestampContext(stopCh chan struct{}, logger g.LoggerType, emptyQueueFunc func() bool) *TimestampContext { |
| 931 | return &TimestampContext{ |
| 932 | stopCh: stopCh, |
| 933 | logger: logger, |
| 934 | emptyQueueFunc: emptyQueueFunc, |
| 935 | |
| 936 | TimestampCh: make(chan uint32, 16), |
| 937 | } |
| 938 | } |
| 939 | func (tsc *TimestampContext) GetDelay() (d int64) { |
| 940 | tsc.logger.Debug("TimestampContext.GetDelay", "delay", tsc.delay) |
| 941 | return tsc.delay |
no outgoing calls
no test coverage detected