I am feeding a string into Lazy:
myfunc = (string) ->
lazy = Lazy()
lazy.lines.map(String).skip(1).forEach (line) ->
#dothework , line by line
lazy.emit('data', string)
This all works fantastic - but the program never terminates.
I guess it has to do that the string has no EOF?
Also adding a '\n' to the end of the string doesn't solve the issue
Am I doing something wrong, or can't this be done this way