---
title: "RecomposerInfo"
description: "Read-only information about a [Recomposer]. Used when code should only monitor the activity of a
[Recomposer], and not attempt to alter its state or create new compositions from it."
type: "interface"
---

<div class='type'>Interface</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>



```kotlin
public interface RecomposerInfo
```


Read-only information about a `Recomposer`. Used when code should only monitor the activity of a
`Recomposer`, and not attempt to alter its state or create new compositions from it.


## Functions

```kotlin
@ExperimentalComposeRuntimeApi
    public fun observe(observer: CompositionRegistrationObserver): CompositionObserverHandle?
```


Register an observer to be notified when a composition is added to or removed from the given
`Recomposer`. When this method is called, the observer will be notified of all currently
registered compositions per the documentation in
`CompositionRegistrationObserver.onCompositionRegistered`.



