Closed Powersource closed 2 years ago
A timeline of what debounce looks like, assuming 100ms of debouncePeriod:
|---100ms---|
-----o-----o---o---o----------------->
-------------------------------o----->
documented in 8abaeee4311a74b6592e25171854a9f15e77483d now
This is an internal config, exposed in the ssb config object just to make it easier for tests, so we don't need a README documentation, but if you want, you can add some code comments. It basically controls how often will we trigger
ssb.ebt.request()
calls. We trigger those when therequestManager.add()
has "calmed down", i.e. afterdebouncePeriod
milliseconds have passed in whichadd()
was not called.