The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
< HTTP/1.1 200 OK
< Connection: keep-alive
< Set-Cookie: test_session=eyJjc3JmLnRva2VuIjoiSlFMdGVzTXFmUzBwZDlXYmVSSkpMVUtmbGFzME93eEFINkNrRHlXYkNUMCIsIl9mbGFzaCI6IntcImZsYXNoZXNcIjp7fSxcImRpc2NhcmRcIjpbXX0ifQ%3D%3D--OPgRdhc%2BbD0AQp1Xz88kvrQ%2Fwj4%3D; path=/; HttpOnly
< Content-Length: 6680
Hi, everyone... I'm stuck using concurrency for a simple logger...
I have a Process, a spawn where the output is print and i want to use another spawn where each 3 seconds for example, kill the old Process and send the new one to the first spawn, I was trying with channels but the spawn must wait for a send.
In little words, is there a way to create just a "listener"between spawns without wait for it?