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
Hi,
I need to push data chunks from the onData callback to the readable stream.
According to the readable stream specification, if stream.push(chunk) returned false you need to stop pushing until next stream.read() call.
So, is it possible to stop onData() temporary?
I tried uws.onData(null) but it dies with the segmentation fault.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I need to push data chunks from the
onData
callback to the readable stream.According to the readable stream specification, if
stream.push(chunk)
returnedfalse
you need to stop pushing until nextstream.read()
call.So, is it possible to stop
onData()
temporary?I tried
uws.onData(null)
but it dies with the segmentation fault.Beta Was this translation helpful? Give feedback.
All reactions