Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atm_comparator - catchUp vs skip #87

Open
bapowell opened this issue Jan 21, 2022 · 1 comment
Open

Atm_comparator - catchUp vs skip #87

bapowell opened this issue Jan 21, 2022 · 1 comment

Comments

@bapowell
Copy link

The Atm_comparator docs indicate that only by using catchUp=true in threshold() will it result in multiple callback calls. In my testing the value of catchUp doesn't matter. It always issues multiple callbacks when crossing multiple threshold values.

Then I noticed an undocumented "skip()" method in Atm_comparator.cpp. That one does the trick. It seems to do the same as what catchUp=false was intended to accomplish.

@tinkerspy
Copy link
Owner

Thanks, I'll have a look at it. I believe the catchUp() method was added by another contributor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants