server-sdk-kotlin icon indicating copy to clipboard operation
server-sdk-kotlin copied to clipboard

Support kotlin coroutine api instead of blocking or callback based api

Open Legion2 opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe. We are using kotlin coroutines in our code base for async code. Currently livekit only supports blocking or callback based apis in the server client.

Describe the solution you'd like All apis that currently are blocking or support callbacks should provide an equivalent kotlin suspend api.

Describe alternatives you've considered Creating suspend wrappers for the callback based api my self or using https://github.com/gildor/kotlin-coroutines-retrofit.

Additional context The android client library already supports kotlin coroutines.

Legion2 avatar Nov 07 '25 15:11 Legion2