Hard

Implementing Debounced Auto-Save in a Real-Time Collaborative Document Editor

Your team is building a real-time collaborative document editor. You need to implement a debounced auto-save function that prevents too many API calls while users are typing. What's missing in the code below to make it work correctly?

Choose an option below