OnReadOpts
admin/discounts.internal.OnReadOpts
Properties
bufferUint8Array | () => Uint8ArrayRequiredMethods
callback
callback(bytesWritten, buf): boolean
This function is called for every chunk of incoming data. Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. Return false from this function to implicitly pause() the socket.
Parameters
bytesWrittennumberRequiredbufUint8ArrayRequiredReturns
boolean
booleanbooleanWas this section helpful?