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

https://github.com/i-e-b/sync

A reasonable and reliable way to run C# async tasks synchronously, without risking deadlocks.
https://github.com/i-e-b/sync

async production-ready sync task working

Last synced: 12 months ago
JSON representation

A reasonable and reliable way to run C# async tasks synchronously, without risking deadlocks.

Awesome Lists containing this project

README

          

# Sync

A reasonable and reliable way to run C# async tasks synchronously, without risking deadlocks.

## Use

```csharp
// Async method that returns 'Task':
Sync.Run(() => MyThing.DoSomethingAsync(...));

// Async method that returns 'Task':
var result = Sync.Run(() => MyThing.ReadSomethingAsync(...));
```