You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) Microsoft Corporation. All rights reserved.
2
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
+
4
+
usingSystem.ComponentModel;
5
+
usingSystem.Diagnostics.CodeAnalysis;
6
+
7
+
namespaceMicrosoft.VisualStudio.Threading
8
+
{
9
+
/// <summary>
10
+
/// An optional interface implemented by pending request state posted to the underline synchronization context. It allows synchronization context to remove completed requests.
11
+
/// </summary>
12
+
[EditorBrowsable(EditorBrowsableState.Never)]
13
+
[Experimental("VSOnly")]
14
+
publicinterfaceIPendingExecutionRequestState
15
+
{
16
+
/// <summary>
17
+
/// Gets a value indicating whether the current request has been completed, and can be skipped.
Copy file name to clipboardExpand all lines: src/Microsoft.VisualStudio.Threading/JoinableTaskFactory.cs
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1058,7 +1058,9 @@ public void Dispose()
1058
1058
/// A delegate wrapper that ensures the delegate is only invoked at most once.
1059
1059
/// </summary>
1060
1060
[DebuggerDisplay("{DelegateLabel}")]
1061
-
internalclassSingleExecuteProtector
1061
+
#pragma warning disable VSOnly// Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
#pragma warning restore VSOnly// Type is for evaluation purposes only and is subject to change or removal in future updates. Suppress this diagnostic to proceed.
1062
1064
{
1063
1065
/// <summary>
1064
1066
/// Executes the delegate if it has not already executed.
0 commit comments