/// <summary> /// Performs the action async on the specified context and returns a task. /// </summary> public static Task SendActionAsync(this SynchronizationContext context, Action action) { return(context.SendActionAsync(() => { action(); return true; })); }