At the moment every method of the exchange service is executed asynchronously, these methods return an instance of the RepeatPromise which tries to run own executor again when the executor throws exceptions. Therefore the exchange service tries to execute own operation when errors (a network disconnection, a server is overloaded, etc) occur.
We propose to remove this class and suggest users use own implementation or third-party library (for example rxjs) to achieve this behavior.
At the moment every method of the exchange service is executed asynchronously, these methods return an instance of the
RepeatPromise
which tries to run own executor again when the executor throws exceptions. Therefore the exchange service tries to execute own operation when errors (a network disconnection, a server is overloaded, etc) occur.We propose to remove this class and suggest users use own implementation or third-party library (for example rxjs) to achieve this behavior.