cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

talonjs: Figure out how to handle `setTimeout`

Open pokey opened this issue 1 year ago • 0 comments

Today, we're silently ignoring the delay passed to setTimeout and just immediately running the callback. We should figure out how to handle this

We probably need to look at the places where we use setTimeout case by case and decide what to do. We could maybe inject setTimeout from Talon that uses the Talon timeout functionality. Or maybe we should look at a higher level of abstraction and let debouncing happen Talon-side, etc

Originally posted by @pokey in https://github.com/cursorless-dev/cursorless/pull/2503#discussion_r1694256390

pokey avatar Jul 28 '24 18:07 pokey