I am updating a database and then refreshing a table. I am using debounce to delay the refresh of the table so the data is accurate. I would like to declare a variable with the time delay. I have tried declaring a variable it the code menu (where add a query is) and also writing a Java script function that return a number. Debounce does not recognize either the variable or the JS function.
I would like to declare a variable because I have multiple places that I am using Debounce and want the delay to be consistent.