Skip to content

@ue-too/being / index / StateChangeCallback

型別別名: StateChangeCallback()<States>

StateChangeCallback<States> = (currentState, nextState) => void

定義於: interface.ts:264

型別參數

States

States extends string = "IDLE"

參數

currentState

States

nextState

States

回傳

void

Description

This is the type for the callback that is called when the state changes.