Skip to content

Support kotlin coroutine api instead of blocking or callback based api #133

@Legion2

Description

@Legion2

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions