# ScopeUpdateScope

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/Composer.kt+class:androidx.compose.runtime.ScopeUpdateScope) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.0.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @ComposeCompilerApi
  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.

## Summary

| ### Public functions |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/ScopeUpdateScope#updateScope(kotlin.Function2)(block: (https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composer, https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Called by generated code to update the recomposition scope with the function to call recompose the scope. | Cmn |

## Public functions

### updateScope

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.0.0)

```
fun updateScope(block: (Composer, Int) -> Unit): 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.