From 11a6269e1efbc2826456b2a8dea1089f9a497c13 Mon Sep 17 00:00:00 2001 From: hasbro17 Date: Wed, 28 Mar 2018 16:12:12 -0700 Subject: [PATCH] action-api: update design doc, handler returns error --- doc/design/milestone-0.0.2/action-api.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/design/milestone-0.0.2/action-api.md b/doc/design/milestone-0.0.2/action-api.md index ba9fbe227cc..69ae54f7573 100644 --- a/doc/design/milestone-0.0.2/action-api.md +++ b/doc/design/milestone-0.0.2/action-api.md @@ -42,7 +42,8 @@ This method also aligns with the original goal of ensuring that all actions of t ```Go // Handle contains the business logic for an handling an Event // It uses SDK Actions and Queries to reconcile the state -func Handle(ctx context.Context, event sdkTypes.Event) +// If an error is returned the Event would be requeued and sent to the Handler again +func Handle(ctx context.Context, event sdkTypes.Event) error ``` ### Create Update Delete: