Commit Scope
interface CommitScope
Content copied to clipboard
A CommitScope represents an object that executes some code and has a cleanup in the context of the Composition lifecycle. It has an "onDispose" operation to cleanup anything that it created whenever it leaves the composition.