I wanted to use TaskRunner after watching Jesse's great talk at KotlinConf. I have a similar PeriodicTaskScheduler I wrote for my work that is solving a similar problem, but okhttp's is much more thoroughly implemented with some nice additional properties like automatic thread pool size management. Unfortunately, I discovered TaskRunner is marked internal.
Would it be possible to get access to the TaskRunner as a library? A public API for it in okhttp probably doesn't make much sense since it's an implementation detail to an http library, but perhaps an okio-taskrunner package, or a separate project would be appropriate?
I wanted to use TaskRunner after watching Jesse's great talk at KotlinConf. I have a similar PeriodicTaskScheduler I wrote for my work that is solving a similar problem, but okhttp's is much more thoroughly implemented with some nice additional properties like automatic thread pool size management. Unfortunately, I discovered TaskRunner is marked internal.
Would it be possible to get access to the TaskRunner as a library? A public API for it in okhttp probably doesn't make much sense since it's an implementation detail to an http library, but perhaps an okio-taskrunner package, or a separate project would be appropriate?