onDidChangeEnableStates

An Event which fires when the enablement state of usage or error telemetry changes.

Online Documentation