Skip to content

Instantly share code, notes, and snippets.

View VladislavRybnikov's full-sized avatar
🏠
Working from home

Vladyslav Rybnikov VladislavRybnikov

🏠
Working from home
  • Kyiv, Ukraine
View GitHub Profile
public interface IAsyncInit<T>
{
TaskAwaiter<T> GetAwaiter();
}
public class Foo : IAsyncInit<Foo>
{
public string InitInfo { get; set; }
private Func<Task<Foo>> _initAsync;