Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.41 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.41 KB

Nivaes Extensions

Extensions funcionality.

Nivaes Async is a set of utilities for handling asynchronous functions.

Features

AsyncEnumerable

Proporciona metodos para acceder a una colecci�n as�ncrona.

AsyncLazy

Provides support for Lazy initialization, allowing the creation of the object with an asynchronous call.

using Nivaes;

async ValueTask<MyClass> InitMyObject()
{
    ....
    MyClass myObject = await myService.GetObject();
    return myObject;
}

async Task Main()
{
    ... 
    var lazyObject = new AsyncLazy<MyClass>(InitMyObject);
    var MyObject = await lazyObject.Value;
    ...
}

AsyncTemporary

It amacen a variable, which is generated asynchronously, over a period of time.

Packages

NuGet Package Latest Versions
Nivaes.Extensions latest stable version

Integration

CI codecov

Build Release

Publish Release