NodenetOnReadOptsinterface OnReadOptsProperties ##buffer: Uint8Array | (() => Uint8Array)Methods ##callback(bytesWritten: number,buffer: Uint8Array,): booleanThis 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.
interface OnReadOptsProperties ##buffer: Uint8Array | (() => Uint8Array)Methods ##callback(bytesWritten: number,buffer: Uint8Array,): booleanThis 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.