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
I'm an angular app on electron using line-by-line to read some json.
The problem is that lines from the start of the file are skipped.
If the file is small enough, no events get catched.
The problem is maybe in the setImmediate beginning to quick (before lr.on('line', () => ...) is called)
I tried a lr.pause immediatly after calling lr = new LineByLineReader('test.txt'); and a resume after registering all event processors... but no effect.
Why does the linereader start immediately? Isn't it more logical we have to call a start method ourselves?
The text was updated successfully, but these errors were encountered:
I'm an angular app on electron using line-by-line to read some json.
The problem is that lines from the start of the file are skipped.
If the file is small enough, no events get catched.
The problem is maybe in the setImmediate beginning to quick (before lr.on('line', () => ...) is called)
I tried a lr.pause immediatly after calling lr = new LineByLineReader('test.txt'); and a resume after registering all event processors... but no effect.
Why does the linereader start immediately? Isn't it more logical we have to call a start method ourselves?
The text was updated successfully, but these errors were encountered: