← All Exercises
Channel Select Multiplexing
intermediatego
Background
Select enables concurrent channel operations and is fundamental to Go concurrency patterns.
Problem
Use select to handle messages from multiple channels concurrently with timeout and default cases.
Input
Multiple channels
Output
First available message
Sample tests
Sample 1
Input: select on 2 channels
Expected: first ready channel
Your solution
Learning objective
Learn channel multiplexing and select patterns