Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# DisposableEffectResult\n======================\n\nArtifact: [androidx.compose.runtime:runtime](/jetpack/androidx/releases/compose-runtime) \n[View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/Effects.kt+class:androidx.compose.runtime.DisposableEffectResult) \nAdded in [1.0.0](/jetpack/androidx/releases/compose-runtime#1.0.0)\nCommon/AllAndroid/JVMNative/C/iOSJavaScript\n - Cmn \n\n ```\n interface DisposableEffectResult\n ```\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public functions |\n|-------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------|-----|\n| [Unit](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html) | [dispose](/reference/kotlin/androidx/compose/runtime/DisposableEffectResult#dispose())`()` | Cmn |\n\nPublic functions\n----------------\n\n### dispose\n\nCmn \nAdded in [1.0.0](/jetpack/androidx/releases/compose-runtime#1.0.0) \n\n```\nfun dispose(): Unit\n```"]]