These are chat archives for ReactiveX/RxJava

21st
Apr 2017
VolodymyrBaisa
@VolodymyrBaisa
Apr 21 2017 19:49
Hello people. How check thread is running if yes to do nothing. RxJava.
Maybe use some filter or something else?
David Karnok
@akarnokd
Apr 21 2017 20:29
@VolodymyrBaisa Not sure what you mean. ManagementFactory.getThreadMXBean()should get you all sorts of Thread status info.
VolodymyrBaisa
@VolodymyrBaisa
Apr 21 2017 21:00
@akarnokd I mean. You have some event. Inside event you have method with while rxJava Observable. When you let's say press the button the event run the Observable create new thread. And when you press the second time the Observable not to start. Some like this need create.