🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

waitForReady

Returns a Job that can be used to wait until the session is ready (i.e.

waitForReady

Source set: Android
public suspend fun waitForReady(): Job

Returns a Job that can be used to wait until the session is ready (i.e. has finished processEmittableTree for the first time and is now receiving events). You can wait on the session to be ready by calling Job.join on the returned Job. When the session is ready, join will resume successfully (Job is completed). If the session is closed before it is ready, we call Job.cancel and the call to join resumes with CancellationException.

Content updated: