mirror of https://github.com/dapr/dotnet-sdk.git
updating the reminder code snippet
This commit is contained in:
parent
af3da0c518
commit
0dd842df86
|
|
@ -198,7 +198,7 @@ namespace MyActorService
|
|||
/// </summary>
|
||||
public async Task RegisterReminder()
|
||||
{
|
||||
this.reminder = await this.RegisterReminderAsync(
|
||||
await this.RegisterReminderAsync(
|
||||
"MyReminder", // The name of the reminder
|
||||
null, // User state passed to IRemindable.ReceiveReminderAsync()
|
||||
TimeSpan.FromSeconds(5), // Time to delay before invoking the reminder for the first time
|
||||
|
|
|
|||
Loading…
Reference in New Issue