HandleAfterOldStateIsRemoved

Marker interface to indicate a KalugaState should execute an action after replacing another state.

Parameters

OldState

the type of KalugaState that was replaced.

Functions

Link copied to clipboard
abstract suspend fun afterOldStateIsRemoved(oldState: OldState)

Called while transitioning from an old state after it is removed