🐛 Fix problem with throttle function

This commit is contained in:
alonso.torres 2024-03-13 17:53:30 +01:00 committed by Andrey Antukh
parent 7436918edb
commit 75d0648065
2 changed files with 16 additions and 14 deletions

View file

@ -44,7 +44,7 @@
(when-not ^boolean timeout-id
(set! (.-timeoutId state)
(js/setTimeout execute-fn (- delay ctime ltime))))))))]
(js/setTimeout execute-fn (- delay (- ctime ltime)))))))))]
(specify! wrapped-fn
rx/IDisposable