Commit f0c52d1
committed
Ignore return value of
From Node.Stream.writeString docs:
"Returns false if the stream wishes for the calling code to wait for the 'drain' event to be emitted before continuing to write additional data; otherwise true."
So it seems that it is enough to just wait till writing has finished which is done by our Aff continuation.
I'm not sure but situation can be a bit more complicated if we take
Aff Fibers into account and consider other "concurrent" writes...Node.Stream.writeString
1 parent abba73f commit f0c52d1
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
0 commit comments