onChange static method
Implementation
static void onChange(Object state) {
var compositeChangeTokenState = state as CompositeChangeToken;
if (compositeChangeTokenState._cancellationTokenSource == null) {
return;
}
try {
compositeChangeTokenState._cancellationTokenSource?.cancel();
// ignore: empty_catches
} catch (e) {}
}