WithWriterReload toggles whether the writer factory should reload cached instances upon OnReload event.
(shouldReload bool)
| 49 | // WithWriterReload toggles whether the writer factory should reload cached instances upon |
| 50 | // OnReload event. |
| 51 | func WithWriterReload(shouldReload bool) ProvidersOptionFunc { |
| 52 | return func(options *providersOption) { |
| 53 | options.writerReloadable = shouldReload |
| 54 | } |
| 55 | } |
no outgoing calls