| 850 | } |
| 851 | |
| 852 | type basicResumeTokenRefresher struct { |
| 853 | logger slog.Logger |
| 854 | ctx context.Context |
| 855 | cancel context.CancelFunc |
| 856 | ctrl *basicResumeTokenController |
| 857 | client ResumeTokenClient |
| 858 | errCh chan error |
| 859 | |
| 860 | sync.Mutex |
| 861 | closed bool |
| 862 | timer *quartz.Timer |
| 863 | } |
| 864 | |
| 865 | func (r *basicResumeTokenRefresher) Close(_ context.Context) error { |
| 866 | r.cancel() |
nothing calls this directly
no outgoing calls
no test coverage detected