I find actor to be extremely convenient for sequential execution of background work and safe private state. Unfortunately, it is marked as obsolete and has been for some time. I can't find any information on a replacement, though there have been many flow additions to Kotlin Coroutines.
Is there a way to achieve the same benefits as actor with the new coroutine library additions as of today? Would would code that achieves this look like?