You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I am feeding a string into Lazy:
myfunc = (string) ->
lazy = Lazy()
lazy.lines.map(String).skip(1).forEach (line) ->
#dothework , line by line
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
The text was updated successfully, but these errors were encountered: