Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement auto reconnect on SignalR TypeScript client #8566
5 times, most recently
Apr 2, 2019
I only plan to add two more tests similar to AutomaticReconnect.test.ts's "does not reset after hub handshake failure" test that tests the integration between HubConnection and HttpConnection.
I'm also considering adding a test to verify the reconnect delay timeout gets cleared when the connection stops, but making the delay long enough to be reliably but quick enough not to slow down our tests might be tricky.
BrennanConroy left a comment •
Should the onclosed callback be triggered if the connection stops while in the reconnecting state?