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 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
property
type:
Transitions<State, State | OrderState> & Partial<Transitions<OrderState | State>>
onTransitionStart
property
type:
OnTransitionStartFn<State | OrderState, OrderTransitionData>
onTransitionEnd
property
type:
OnTransitionEndFn<State | OrderState, OrderTransitionData>
onTransitionError
property
type:
OnTransitionErrorFn<State | OrderState>