Interface

CompositionObserverHandle

The handle returned by [Composition.

Common
@ExperimentalComposeRuntimeApi
public interface CompositionObserverHandle

The handle returned by Composition.setObserver and Recomposer.observe. Calling dispose will prevent further composition observation events from being sent to the registered observer.

Functions

dispose

public fun dispose()

Unregister the observer.