-
Beta Was this translation helpful? Give feedback.
Answered by
campersau
Dec 20, 2023
Replies: 2 comments
-
The extension method got removed with the upgrade to .NET Framework 4.6.2 here: You can create a var tcs = new TaskCompletionSource<bool>(TaskCreationOptions.RunContinuationsAsynchronously);
tcs.TrySetResult(true); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
amaitland
-
Works awesom! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The extension method got removed with the upgrade to .NET Framework 4.6.2 here:
1def8a7#diff-fab8d4eeceb0db5072815c35d8efa6886d14f4529f7ce4d9d228682422e492c4L95-L108
You can create a
TaskCompletionSource
withTaskCreationOptions.RunContinuationsAsynchronously
option and just useTrySetResult
.