interface IdlingResourceOwner
An interface for ComposeUiTest implementations that support registering and unregistering IdlingResources.
Implementing this interface indicates that the test environment allows synchronization with asynchronous operations via idling resources. While supported on Android and Desktop, this capability is currently not available on all targets (such as Web).
Usage of these APIs should generally be guarded by a check to ComposeUiTest.isIdlingResourceSupported.
Functions
registerIdlingResource
fun registerIdlingResource(idlingResource: IdlingResource)
Registers an IdlingResource in this test.
unregisterIdlingResource
fun unregisterIdlingResource(idlingResource: IdlingResource)
Unregisters an IdlingResource from this test.