Skip to content

Releases: Cysharp/ValueTaskSupplement

Ver 1.1.0

03 Jan 19:17
Compare
Choose a tag to compare

Fully refactored.

Ver 1.0.0

03 Jan 08:39
Compare
Choose a tag to compare

ValueTaskEx.Lazy returns AsyncLazy<T> instead of returns ValueTask<T> directly because follows IValueTaskSource guidance.

// AsyncLazy<T> is similar to Lazy<T>, it can store in field
// it await directly or can convert to ValueTask easily to use WhenAll.
public static AsyncLazy<T> Lazy<T>(Func<ValueTask<T>> factory)

public class AsyncLazy<T>
{
    public ValueTask<T> AsValueTask();
    public ValueTaskAwaiter<T> GetAwaiter();   
    public static implicit operator ValueTask<T>(AsyncLazy<T> source);
}

Ver 0.5.0

26 Aug 22:35
6f50c77
Compare
Choose a tag to compare

Add NonGenerics API #1 , thanks @xin9le

Ver 0.4.0

26 Aug 15:48
Compare
Choose a tag to compare

Add WhenAll Extensions

Ver 0.3.0

26 Aug 14:18
Compare
Choose a tag to compare

Improve WhenAny API

Ver 0.1.0

26 Aug 09:43
Compare
Choose a tag to compare

Initial Release.