Under most circumstances I would use a text input field with an on-input or on-updated event to fire a server action, this allows me to use a debounce parameter to stop the script running on every keystroke.
In this particular case I have a server action with many dmx-param checks linked to the textinput.value of the field I want to check. Is there a way to add a debounce still?
Here are some examples
<!--Normal way, with debounce-->
<input dmx-on:updated.debounce:300="sc1.load(what_input: value)" id="searchTextName" name="searchTextName" type="text">
<!--Secondary Way, how to add debounce?-->
<dmx-serverconnect id="sc1" url="api/image-list" dmx-param:what_input="searchTextName.value"></dmx-serverconnect>
<input id="searchTextName" name="searchTextName" type="text">