await Dispose
Await the disposal of this producer whether it left the composition, the source changed, or an error occurred. Always runs onDispose before resuming.
This method is useful when configuring callback-based state producers that do not suspend, for example:
Samples
androidx.compose.runtime.samples.ProduceStateAwaitDispose