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

Tags: CenterEdge/CenterEdge.Async

Tags

1.4.0

Toggle 1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Provide visibility to running synchronously (#16)

Motivation
----------
There are cases in complex systems where it is helpful for code to know that it is running within a call to AsyncHelper.RunSync. Furthermore, retrieving the previously replaced synchronization context can also be helpful. For example, a call to Form.ShowDialog in a WinForms app may want to reinstall the WindowsFormsSynchronizationContext since a new message pump will be running to process continuations.

Modifications
-------------
- Add IsRunningSynchronously property
- Add GetReplacedSynchronizationContext method
- Track the fact we're in the call to RunSync and processing work on its calling thread using a thread static

1.3.0

Toggle 1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add null checks (#14)

Motivation
----------
Better exceptions with preconditions.

Modifications
-------------
Add a ThrowHelper for .NET < 6 and then use it or
ArgumentNullException.ThrowIfNull.

1.2.0

Toggle 1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Enable trim/AOT compatibility (#10)

1.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Add optional state parameters to AsyncHelper (PHNX-12680) (#4)

Motivation
----------
In some scenarios this can reduce heap allocations of closures.

Modifications
-------------
Add the optional state parameter and matching unit tests.

Drop .NET 5 target since it is EOL and target .NET 6.

https://centeredge.atlassian.net/browse/PHNX-12680

1.0.1

Toggle 1.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Ensure continuations run with sync task completion (ARCH-98) (#2)

Motivation
----------
There is currently a corner case when continuations are queued by a
synchronously completing task where those continuations are never
executed.

Modifications
-------------
When the task completes synchronously queue all remaining continuations
on the parent synchronization context.

Switch build/tests to .NET 6 and language to C# 10.

https://centeredge.atlassian.net/browse/ARCH-98

1.0.0

Toggle 1.0.0's commit message

Verified

This commit was signed with the committer’s verified signature.
brantburnett Brant Burnett
Add strong naming

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