Skip to content

Commit 11a6269

Browse files
committed
action-api: update design doc, handler returns error
1 parent 0ae48c2 commit 11a6269

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/design/milestone-0.0.2/action-api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ This method also aligns with the original goal of ensuring that all actions of t
4242
```Go
4343
// Handle contains the business logic for an handling an Event
4444
// It uses SDK Actions and Queries to reconcile the state
45-
func Handle(ctx context.Context, event sdkTypes.Event)
45+
// If an error is returned the Event would be requeued and sent to the Handler again
46+
func Handle(ctx context.Context, event sdkTypes.Event) error
4647
```
4748

4849
### Create Update Delete:

0 commit comments

Comments
 (0)