Skip to content

IReminderRegistry.GetReminder(GrainId, string, CancellationToken)

GetReminder(GrainId, string, CancellationToken)

virtual
View source
public virtual Task<IGrainReminder?> GetReminder(GrainId callingGrainId, string reminderName, CancellationToken cancellationToken)
Gets a reminder registered to the specified grain.

Parameters

callingGrainIdGrainId
The ID of the currently executing grain.
reminderNamestring
The reminder name.
cancellationTokenCancellationToken
The cancellation token.

Returns

The reminder, or null if it was not found.