Ordering asynchronous updates with coroutines, part 2: Restart with hand-off

4 · Raymond Chen · Sept. 7, 2021, 2:02 p.m.
Another serialization pattern for coroutines is where calling some method initiates some asynchronous activity, and if the method gets called again while the activity is still incomplete, you want to let the previous activity run to completion, and then run it again. The post Ordering asynchronous updates with coroutines, part 2: Restart with hand-off appeared first on The Old New Thing....