WithCaptureState indicates that the provider should emit its state information.
()
| 183 | // WithCaptureState indicates that the provider should |
| 184 | // emit its state information. |
| 185 | func WithCaptureState() Option { |
| 186 | return func(o *opts) { |
| 187 | o.captureState = true |
| 188 | } |
| 189 | } |
| 190 | |
| 191 | // WithEventFilterDescriptors assigns filters to be passed |
| 192 | // to the provider's enable callback function. |