CompositionObserverHandle

Interface

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

public fun dispose()

Unregister the observer.