dotnet / dotnet/orleans

Add TryRegisterReminder

Open
#7,956 2 comments 0 reactions 1 assignee Claimed by @benjaminpetit View on GitHub
area-reminders/timer
Dominant language
C#
Stars
10.9k
Forks
2.1k
Avg merge
14h 42m
Merged PRs (30d)
354

Description

From the documentation of [RegisterOrUpdateReminder](https://docs.microsoft.com/en-us/dotnet/api/orleans.grain.registerorupdatereminder?view=orleans-3.0) is says :
_If an existing reminder with the same name already exists, that reminder will be overwritten with this new reminder. Reminders will always be received by one activation of this grain, even if multiple activations exist for this grain._

This is a limiting since for my instances I could be updating existing reminders. It would be nice if we had a **TryRegisterReminder** which returns a boolean based on whether;
- a reminder was created -> true
- if there's an existing reminder -> false.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.