guys! I am relatively new to the concept of Suspense in React so i apologize if the question answer is obvious but i couldn't manage to find similar question asked before.
So i was wondering how can i set/simulate time limit for Suspense. Assuming i am having an API that returns a simple JSON after a 5 seconds dalay and i want Suspense to wait for 3s max then show some kind of ErrorComponent 'Time limit exceeded'?
Just to mention - i am fetching the data using SWR.
Thank you in advance!