ursus
09/30/2019, 7:06 PMjw
09/30/2019, 7:07 PMursus
09/30/2019, 7:08 PMursus
09/30/2019, 7:09 PMjw
09/30/2019, 7:09 PMjw
09/30/2019, 7:10 PMursus
09/30/2019, 7:13 PMursus
09/30/2019, 7:14 PMursus
09/30/2019, 7:14 PMjw
09/30/2019, 7:15 PMursus
09/30/2019, 7:23 PMursus
09/30/2019, 7:24 PMursus
09/30/2019, 7:27 PMObservable.fromCallable { downloadFile() }
.subscribeOn(<http://Schedulers.io|Schedulers.io>())
.subscribe { .. }
jw
09/30/2019, 7:28 PM<http://Schedulers.io|Schedulers.io>().limit(5)
?ursus
09/30/2019, 7:29 PMjw
09/30/2019, 7:31 PMio()
and then limits worker creation to 5. You would have to decide how to distribute the work that's buffered yourself. Probably with a single queue giving you the ability to do things like sort by priority. But we're not far off from the "just use executors" case.ursus
09/30/2019, 7:50 PMursus
09/30/2019, 7:50 PMursus
09/30/2019, 8:22 PMursus
09/30/2019, 8:23 PMursus
10/01/2019, 10:21 PMRxJava2CallAdapterFactory.createAsync()
over RxJava2CallAdapterFactory.create()
Obviously I read that second one applies no schedulers, and first I runs on OkHttp threadsursus
10/01/2019, 10:21 PMursus
10/01/2019, 10:22 PMjw
10/02/2019, 1:02 AMjw
10/02/2019, 1:02 AMursus
10/02/2019, 1:38 AMursus
10/02/2019, 1:39 AMjw
10/02/2019, 1:40 AMursus
10/02/2019, 1:42 AMursus
10/02/2019, 1:42 AM