C#C
C#3y ago
4 replies
CrosRoad95

❔ Polly - question

I have some method, but it can be quickly called multiple times and what i'm trying to do is that after certain amount of time it get called,
for example
Foo(); Foo(); Foo(); - called three times, but first two calls will be ignored because they happened too quickly and after let's say 200ms last foo get executed
can i achieve something like this using polly? https://github.com/App-vNext/Polly
it's probably called debouce, can polly do this?
Was this page helpful?