Timeout Using Select
Learn about the timeout pattern thatuses select.
We'll cover the following...
Overview of timeout using select
The select
statement randomly selects a case from all the case statements that are ready to execute. As the name suggests, the timeout pattern that uses select exits the select
clause once the timer completes. Let’s suppose we’re running an ...