Closed agix closed 9 months ago
Benchmarks look fine.
Before:
Benchmarking "Push events with channels".
better-sse x 45,644 ops/sec ±4.66% (85 runs sampled)
After:
Benchmarking "Push events with channels".
better-sse x 45,425.8 ops/sec ±5.66% (82 runs sampled)
Thx for the review !
These changes are now published in v0.11.0.
Response can also close without request emitting the close event.
both should be listened to set the
isConnected
boolean to false.Also, pushing data should throw on a disconnected session.