Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Failed ¶
type Failed struct{} // here we trigger an action on the other end
func (*Failed) HandleEvent ¶
type ResolutionFailed ¶
type ResolutionFailed struct{} // here we can either hold or trigger an action on the other end
func (*ResolutionFailed) HandleEvent ¶
func (s *ResolutionFailed) HandleEvent(ctx context.Context, event Event, eventCtx *EventCtx, w StateTransition)
func (*ResolutionFailed) String ¶
func (s *ResolutionFailed) String() string
type StateTransition ¶
type WorkerAction ¶
type WorkerAction string
const ( WorkerActionCreate WorkerAction = "create" WorkerActionDelete WorkerAction = "delete" )
type WorkerEvent ¶
type WorkerEvent struct { Action WorkerAction Req any EventCtx *EventCtx }
Click to show internal directories.
Click to hide internal directories.