updating the reminder code snippet

This commit is contained in:
Aman Bhardwaj 2019-10-28 11:44:19 -07:00 committed by GitHub
parent af3da0c518
commit 0dd842df86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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