CustomOrderProcess
CustomOrderProcess
Used to define extensions to or modifications of the default order process.
For detailed description of the interface members, see the StateMachineConfig docs.
Signature
interface CustomOrderProcess<State extends keyof CustomOrderStates | string> extends InjectableStrategy {
transitions?: Transitions<State, State | OrderState> & Partial<Transitions<OrderState | State>>;
onTransitionStart?: OnTransitionStartFn<State | OrderState, OrderTransitionData>;
onTransitionEnd?: OnTransitionEndFn<State | OrderState, OrderTransitionData>;
onTransitionError?: OnTransitionErrorFn<State | OrderState>;
}
Extends
Members
transitions
Transitions<State, State | OrderState> & Partial<Transitions<OrderState | State>>
onTransitionStart
OnTransitionStartFn<State | OrderState, OrderTransitionData>
onTransitionEnd
OnTransitionEndFn<State | OrderState, OrderTransitionData>
onTransitionError
OnTransitionErrorFn<State | OrderState>