Merged PR 15261: [Windows] GraphNotificationsSample update for backround task
Allowing platform to complete notification processing in background
This commit is contained in:
Родитель
3d5bdf5b37
Коммит
88c453c3b4
|
@ -253,6 +253,9 @@ namespace SDKTemplate
|
|||
if (notification != null)
|
||||
{
|
||||
await m_platform.ProcessNotificationAsync(notification);
|
||||
|
||||
// Wait for 15 seconds for platform to process to notification
|
||||
await Task.Delay(TimeSpan.FromSeconds(15));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче