Skip to content

IReminderRegistry.RegisterOrUpdateReminder(GrainId, string, TimeSpan, TimeSpan)

RegisterOrUpdateReminder(GrainId, string, TimeSpan, TimeSpan)

abstract
public abstract Task<IGrainReminder> RegisterOrUpdateReminder(GrainId callingGrainId, string reminderName, TimeSpan dueTime, TimeSpan period)
Register or update the reminder with the specified name for the currently active grain.

Parameters

callingGrainIdGrainId
The ID of the the currently executing grain
reminderNamestring
The reminder name.
dueTimeTimeSpan
The amount of time to delay before initially invoking the reminder.
periodTimeSpan
The time interval between invocations of the reminder.

Returns

The reminder.