Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions workflow/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@ func (e *Executor) OnCheckpointRestored(ctx *Context) error {
return nil
}

// OnMessageDeliveryStarting invokes all configured OnMessageDeliveryStarting
// hooks. Returns the first error from any hook.
// OnMessageDeliveryStarting invokes the configured OnMessageDeliveryStarting
// hooks in order, stopping at and returning the first hook error.
func (e *Executor) OnMessageDeliveryStarting(ctx *Context) error {
if e.OnMessageDeliveryStartingFunc != nil {
return e.OnMessageDeliveryStartingFunc(ctx)
Expand Down
Loading