Closed ya-ne-vor closed 3 months ago
TDLib is very stable.
There are no reasons to interupt ResponseReceiver
manually.
There are no reasons to interupt
ResponseReceiver
manually.
I wanted to write custom runloop, but since Client.java
is stable, I think, I can use it and don't invent the wheel.
Hi! I want to use TDLib in a Java project. I see the example in
example/java
folder. Can I just useClient.java
and be sure that it's stable enough (meaning most of the time it will work without any issue, e.g. no sudden shutdowns, lost updates, etc)?Also I have another question: how can I interrupt
ResponseReceiver
if it has a huge timeout? As I understand theResponseReceiver
spawned as a daemon thread, and it's killed by JVM when exiting. Can I interrupt/terminateResponseReceiver
(or equallynativeClientReceive
with a huge timeout) manually? Or, instead, the solution is to set a small timeout?Thanks!