Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

AsyncTaskTarget - Include TaskScheduler in ContinueWith - #4176

#4176
Merged
304NotModified merged 1 commit into
NLog:masterNLog/NLog:masterfrom
snakefoot:AsyncTaskTargetBlockFlushsnakefoot/NLog:AsyncTaskTargetBlockFlushCopy head branch name to clipboard
Nov 19, 2020
Merged

AsyncTaskTarget - Include TaskScheduler in ContinueWith#4176
304NotModified merged 1 commit into
NLog:masterNLog/NLog:masterfrom
snakefoot:AsyncTaskTargetBlockFlushsnakefoot/NLog:AsyncTaskTargetBlockFlushCopy head branch name to clipboard

Conversation

@snakefoot

@snakefoot snakefoot commented Nov 18, 2020

Copy link
Copy Markdown
Contributor

And create TaskCompletionSource with RunContinuationsAsynchronously. Recommended by async-tutorial:

Always create TaskCompletionSource with TaskCreationOptions.RunContinuationsAsynchronously

Guess when NLog 5.0 removes .Net4.0 then one should attempt to replace ContinueWith with async/await.

…letionSource with RunContinuationsAsynchronously
@snakefoot snakefoot added the enhancement Improvement on existing feature label Nov 18, 2020
@snakefoot snakefoot added this to the 4.7.6 milestone Nov 18, 2020
@snakefoot snakefoot closed this Nov 18, 2020
@snakefoot snakefoot reopened this Nov 18, 2020
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@304NotModified
304NotModified merged commit 5b79eda into NLog:master Nov 19, 2020
@304NotModified

Copy link
Copy Markdown
Member

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement on existing feature size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.