onCleanup

open suspend fun onCleanup()

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