alexeyinkin commented on code in PR #23572:
URL: https://github.com/apache/beam/pull/23572#discussion_r992357886
##########
learning/tour-of-beam/frontend/lib/cache/content_tree.dart:
##########
@@ -26,27 +26,30 @@ import '../repositories/client/client.dart';
class ContentTreeCache extends ChangeNotifier {
final TobClient client;
- ContentTreeModel? _contentTree;
- Future<ContentTreeModel>? _future;
+ final _treesBySdkId = <String, ContentTreeModel>{};
+ final _futuresBySdkId = <String, Future<ContentTreeModel>>{};
Review Comment:
We used to have one tree for all SDKs. Making up.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]