WriteBuffer
Closed this issue · 0 comments
tshemsedinov commented
- If
message.length <= buffer.freeSize
: Add message to buffer, do not emitdata
, start timeout - If
message.length > buffer.freeSize
: Concatenate message and buffer, emit, remove timeout