onCleanup

open suspend override fun onCleanup()

Called when state is sequentially used on multiple machine instances, to perform cleanup steps.