Put with Timeout


#1

Originally published at: https://purelyfunctional.tv/core-async-patterns/put-with-timeout/
We saw how to take with a timeout. But how do you put with a timeout? If a channel is full, a put will block or park until it is empty. If that never happens, your code will never complete. core.async can do this as well.