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
packet just like each item of the returned array right now
isLasttrue if it's the last packet in the payload, false otherwise.
Instead of returning an array like it is now.
This will give us the possibility of giving events to the user before all packets are parsed from the string (important for very big payloads).
Let's make sure to add tests for this.
The text was updated successfully, but these errors were encountered:
It should emit a callback with each packet:
Callback arguments:
packet
just like each item of the returned array right nowisLast
true
if it's the last packet in the payload,false
otherwise.Instead of returning an array like it is now.
This will give us the possibility of giving events to the user before all packets are parsed from the string (important for very big payloads).
Let's make sure to add tests for this.
The text was updated successfully, but these errors were encountered: