ruby - How to use Lazy enumeration to control processes? -


in talk https://www.youtube.com/watch?v=5zjwepupybw pat shaughnessy says it's possible use lazy enumeration control processes not sure when should end.

i'm curious real or theoretical possibility of doing this?

if know real world example or open source project please drop me link. if have own explanation/implementation please share me. i'm curious, nothing more :-)

thanks in advance.

pat's blogged @ length lazy enumerator. may have found in case not: http://patshaughnessy.net/2013/4/3/ruby-2-0-works-hard-so-you-can-be-lazy

appreciate it's not real world example thorough intro , explanation.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -