C# CSharp debounce a function call
Budget: €8 – €30 EUR
i need to debounce the delegate call in the following function.
a class V has a float value f and a delegate d.
every time f is changed, d gets executed.
if f is changed too quickly, it should not be executed.
BUT the last change should be executed every time.
debounce should be possible with a certain internal time treshold and also by a extern clock/counter.
in the given Test.png setup, only the last call should have been executed.
a class V has a float value f and a delegate d.
every time f is changed, d gets executed.
if f is changed too quickly, it should not be executed.
BUT the last change should be executed every time.
debounce should be possible with a certain internal time treshold and also by a extern clock/counter.
in the given Test.png setup, only the last call should have been executed.