Skip to content

Latest commit

 

History

History
3 lines (2 loc) · 292 Bytes

File metadata and controls

3 lines (2 loc) · 292 Bytes

example from https://reactjs.org/docs/testing-recipes.html#timers

Your code might use timer-based functions like setTimeout to schedule more work in the future. In this example, a multiple choice panel waits for a selection and advances, timing out if a selection isn’t made in 5 seconds.