preHook

open fun preHook(value: V, via: T): Result<Unit>

Will be executed prior to the transition effect. Failure here will terminate the transition