internal static NotificationAction GetScheduledNotification() { var value = CookieProperty.Get(COOKIE_KEY).GetAlreadyCompletedResult(); if (value.IsEmpty()) { return(null); } CookieProperty.Remove(COOKIE_KEY); return(JsonConvert.DeserializeObject <NotificationAction>(value)); }
internal static async Task <NotificationAction> GetScheduledNotification() { var value = await CookieProperty.Get(COOKIE_KEY); if (value.IsEmpty()) { return(null); } CookieProperty.Remove(COOKIE_KEY); return(JsonConvert.DeserializeObject <NotificationAction>(value)); }