CustomFulfillmentProcess

CustomFulfillmentProcess

CustomFulfillmentProcess

Used to define extensions to or modifications of the default fulfillment process.

For detailed description of the interface members, see the StateMachineConfig docs.

Signature

interface CustomFulfillmentProcess<State extends string> extends InjectableStrategy {
  transitions?: Transitions<State, State | FulfillmentState> &
        Partial<Transitions<FulfillmentState | State>>;
  onTransitionStart?: OnTransitionStartFn<State | FulfillmentState, FulfillmentTransitionData>;
  onTransitionEnd?: OnTransitionEndFn<State | FulfillmentState, FulfillmentTransitionData>;
  onTransitionError?: OnTransitionErrorFn<State | FulfillmentState>;
}

Extends

Members

transitions

property
type:
Transitions<State, State | FulfillmentState> & Partial<Transitions<FulfillmentState | State>>

onTransitionStart

onTransitionEnd

onTransitionError

property