An open API service indexing awesome lists of open source software.

https://github.com/soenneker/soenneker.utils.executioncontexts

Utilities for executing work inline or offloading to the thread pool based on the current synchronization context.
https://github.com/soenneker/soenneker.utils.executioncontexts

action async csharp dotnet executioncontexts executioncontextutil func inline invocation object offload state task utils valuetask

Last synced: 28 days ago
JSON representation

Utilities for executing work inline or offloading to the thread pool based on the current synchronization context.

Awesome Lists containing this project

README

          

[![](https://img.shields.io/nuget/v/soenneker.utils.executioncontexts.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.utils.executioncontexts/)
[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.utils.executioncontexts/publish-package.yml?style=for-the-badge)](https://github.com/soenneker/soenneker.utils.executioncontexts/actions/workflows/publish-package.yml)
[![](https://img.shields.io/nuget/dt/soenneker.utils.executioncontexts.svg?style=for-the-badge)](https://www.nuget.org/packages/soenneker.utils.executioncontexts/)
[![](https://img.shields.io/github/actions/workflow/status/soenneker/soenneker.utils.executioncontexts/codeql.yml?label=CodeQL&style=for-the-badge)](https://github.com/soenneker/soenneker.utils.executioncontexts/actions/workflows/codeql.yml)

# ![](https://user-images.githubusercontent.com/4441470/224455560-91ed3ee7-f510-4041-a8d2-3fc093025112.png) Soenneker.Utils.ExecutionContexts
### Utilities for executing work inline or offloading to the thread pool based on the current synchronization context.

## Installation

```
dotnet add package Soenneker.Utils.ExecutionContexts
```