Skip to content

IReminderService.GetReminder(GrainId, string, CancellationToken)

GetReminder(GrainId, string, CancellationToken)

virtual
View source
[Orleans.Alias(AC622EEB)]
public virtual Task<IGrainReminder?> GetReminder(GrainId grainId, string reminderName, CancellationToken cancellationToken)
Gets the reminder registered to the specified grain with the provided name.

Parameters

grainIdGrainId
A reference to the grain which the reminder is registered on.
reminderNamestring
The name of the reminder.
cancellationTokenCancellationToken
The cancellation token.

Returns

The reminder.