Watch() can be implemented on providers to enable watching configuration for changes.
Watching configuration requires creating a background goroutine since this function is not expected to block forever. However, there is no way to cancel this goroutine since Watch() does not take a context.Context. The goroutine will run for the lifetime of the the program unless aborted via some other mechanism.
Watch()can be implemented on providers to enable watching configuration for changes.Watching configuration requires creating a background goroutine since this function is not expected to block forever. However, there is no way to cancel this goroutine since
Watch()does not take acontext.Context. The goroutine will run for the lifetime of the the program unless aborted via some other mechanism.