|
|
|
|
|
by whaleofatw2022
113 days ago
|
|
Not the person originally replying, but as someone who avoids JS I have to ask whether the abstraction you provide may have additional baggage as far as framing/etc. Ironically, naively, I'd expect something more like a callback where you would specify how your input gets written to a buffer, but again im definitely losing a lot of nuance from not doing JS in a long while. |
|
Yes, and this is the way it works JS currently.
The reason I'm commenting is because it appeared folks were advocating to stop doing this (despite the fact it seems to work just fine).