Debounce middleware for channel