pass asynchronous channel into function that takes a synchronous channel as argument
Is it a bug or a feature that you can pass a asynchronous channel into i function that takes a synchronous channel as an argument? This way it depends on what kind of channel you pass to the function how the function behaves.