Skip to content

@ue-too/being / index / StateChangeCallback

型エイリアス: StateChangeCallback()<States> ​

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

定義: interface.ts:297

型パラメーター ​

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.