Skip to content

GrainReminderExtensions.GetReminder(IGrainBase, string, CancellationToken)

GetReminder(IGrainBase, string, CancellationToken)

staticextension
View source
public static Task<IGrainReminder?> GetReminder(this IGrainBase grain, string reminderName, CancellationToken cancellationToken)
Returns a previously registered reminder.

Parameters

grainIGrainBase
The grain instance.
reminderNamestring
The reminder name.
cancellationTokenCancellationToken
The cancellation token.

Returns

The reminder.