Releases: anycable/xk6-cable
Releases · anycable/xk6-cable
0.7.0
Features
-
Add
channel.ackDuration()
to get the number of milliseconds it took to receive a subscription confirmation/rejection. -
Add
client.subscribeAsync
to issue a subscribe command without waiting for the confirmation.This is useful when you want to test the scenario when you have many subscription initiated at the page load / client initialization.
0.5.0
Features
-
Added
channel.receiveAll(timeout)
to read all messages arrived in a give time period. -
Added
msg.__timeout__
fields with the UTC seconds of the time message was consumed by the client (the actual time of receiving).
You can see both these new features in action in the AnyCable benchmark here.