Title here
Summary here
Our example demonstrates channels, the constructs that connect concurrent goroutines to send and receive values.
When we run the program, the “ping” message is successfully passed from one function execution to another via our messages
array being checked in the checkMessages
event handler.
By default, Flash application loops make it possible to check for messages at each frame, thus simulating the concurrent behavior.
To run this code, write it in an ActionScript file and compile it with the Adobe Flex SDK. The output will show “ping” in the console.
Next example: Channel Buffering.