Releases · Cysharp/ValueTaskSupplement
Ver 1.1.0 Ver 1.0.0ValueTaskEx.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 Ver 0.4.0 Ver 0.3.0 Ver 0.1.0
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4