Suspendable interface for visiting state machine components Visitor must be used instead of extension functions to preserve virtual behaviour, which is missing with extensions.
Interface for visiting state machine components without suspension