I felt this deserves it's own PR instead of including it in #615.
It is late, so here is the best, but consice, description I can currently manage:
Connection.ready() is how users should check if the connection is ready, internally Connection.transport.ready() should be used if RobustConnection.__reconnect_task() might cause it to be executed.
coverage: 88.125%. first build
when pulling 5b2f6c8d61919859bdfbe418981b2d983da355bf on Darsstar:prevent-deadlock-in-channel-reopen
into a3ef44b6a4bafd5245f1cee545961179f00b1a03 on mosquito:master.
I felt this deserves it's own PR instead of including it in #615.
It is late, so here is the best, but consice, description I can currently manage:
Connection.ready()
is how users should check if the connection is ready, internallyConnection.transport.ready()
should be used ifRobustConnection.__reconnect_task()
might cause it to be executed.