Open jasnell opened 1 year ago
Because the socket API builds on the streams spec, it would be helpful for performance tuning to be able to specify the readable and writable queuing strategies. For example,
const socket = connect('https://example.org', { writableStrategy: { highWaterMark: 4096 }, readableStrategy: { highWaterMark: 4096 }, });
Because the socket API builds on the streams spec, it would be helpful for performance tuning to be able to specify the readable and writable queuing strategies. For example,