Skip to content

Public API for TaskRunner #9651

Description

@bherw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions