// BAD public async void Init() { var posts = _store.GetAllPostsWithNames(); var postsWithMeta = await _metadata.GetMetadataForPosts(posts); _cache.Store(postsWithMeta); }
private async Task InitializeAsync() { var posts = _store.GetAllPostsWithNames(); var postsWithMeta = await _metadata.GetMetadataForPosts(posts); _cache.Store(postsWithMeta); }