sceneBeforeLeaving

open suspend fun sceneBeforeLeaving()

BLOCK. Called on the old scene after the new scene has been initialized, and before the transition is performed.