Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 770 Bytes

README.md

File metadata and controls

15 lines (10 loc) · 770 Bytes

TaskTupleAwaiter

Continuous IntegrationNuGetLicense: MIT

Async helper library to allow leveraging the new ValueTuple data types in C# 7.0 to thread and run tasks with disparate return types.

var (result1, result2) = await (GetStringAsync(), GetGuidAsync());

var (policy, preferences) = await (
    GetPolicyAsync(policyId, cancellationToken),
    GetPreferencesAsync(cancellationToken)
).ConfigureAwait(false);