You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow canceling recurring reminders after execution for non-internal actors (dapr#7337)
* Allow canceling recurring reminders after execution for non-internal actors
Internal actors have the ability to cancel a recurring reminder by responding to an execution with the special error `ErrReminderCanceled` after a reminder is executed.
However, the capability was never exposed to "external" actors.
This PR adds the ability for an actor to stop recurring reminders (and timers) after they are executed also for "external" actors. This is possible by including the header `X-DaprReminderCancel` with a truthy value in the response when a reminder or timer is executed.
This will require support in SDKs, but it allows something that is particularly helpful (and today can be buggy, see dapr#6666)
Signed-off-by: ItalyPaleAle <[email protected]>
* Lint
Signed-off-by: ItalyPaleAle <[email protected]>
* Lint
Signed-off-by: ItalyPaleAle <[email protected]>
---------
Signed-off-by: ItalyPaleAle <[email protected]>
Co-authored-by: Mukundan Sundararajan <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
0 commit comments