Skip to content

Commit b6059ef

Browse files
committed
Signaling workflows is "fire-and-forget", remove resolving future
1 parent a988f49 commit b6059ef

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

internal/workflow/executor.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,6 @@ func (e *executor) handleSignalWorkflow(event history.Event, a *history.SignalWo
510510

511511
sewc.Done()
512512

513-
f, ok := e.workflowState.FutureByScheduleEventID(event.ScheduleEventID)
514-
if !ok {
515-
return errors.New("no pending future found for workflow signal requested event")
516-
}
517-
518-
if err := f(nil, nil); err != nil {
519-
return fmt.Errorf("setting workflow signal requested result: %w", err)
520-
}
521-
522513
return e.workflow.Continue()
523514
}
524515

0 commit comments

Comments
 (0)