Open
Description
Describe the bug
It is not possible to prevent HubConnection
from starting with dispose call on Completable
returned by HubConnection.start()
.
By looking at the code there is no doOnDispose
or alike
If one is unaware of this, it could lead to unwanted connections.
To Reproduce
HubConnection hubConnection= HubConnectionBuilder.create(...)...;
hubConnection
.start()
.subscribe(connection->/*do something*/)
.dispose(); // this does nothing, connection is created
Further technical details
- Client version: 6.0.0-preview.7.21378.6