Skip to content

ygorhenrique/Asynq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

27 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Asynq

A tiny ValueTask extensions library.

Nuget Nuget


Usage

    
    // await WhenAll
    var values = await AsynqTasks.WhenAll(valueTasks);

    // WhenAll extension 
    var values = await valueTasks.WhenAll();

    // await WhenAny
    var values = await AsynqTasks.WhenAny(valueTasks);

    // WhenAny extension 
    var values = await valueTasks.WhenAny();

    // Fire and Forget
    valueTask.FireAndForget();

    // Fire and Forget with exception handling
    valueTask.FireAndForget(MyCustomExceptionHandler);

    // Convert to ValueTask
    task.AsValueTask();

Releases

No releases published

Packages

No packages published

Languages