---
title: "ScopeUpdateScope"
description: "Internal compose compiler plugin API that is used to update the function the composer will call
to recompose a recomposition scope. This should not be used or called directly."
type: "interface"
---

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


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

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



```kotlin
@ComposeCompilerApi
public interface ScopeUpdateScope
```


Internal compose compiler plugin API that is used to update the function the composer will call
to recompose a recomposition scope. This should not be used or called directly.


## Functions

```kotlin
public fun updateScope(block: (Composer, Int) -> Unit)
```


Called by generated code to update the recomposition scope with the function to call
recompose the scope. This is called by code generated by the compose compiler plugin and
should not be called directly.



