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

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -