Completer completer = new Completer();
>>>
Is this too difficult or too silly to answer?
Or is it that nobody wants to talk to me any more for asking these questions :'-(?
Is this too difficult or too silly to answer?
Or is it that nobody wants to talk to me any more for asking these questions :'-(?
Good to know I'm not talkin alone :-D
Anyone else? I personally don't see too much benefit in export considering the risks... Is it so useful?
--
Consider asking HOWTO questions at Stack Overflow: http://stackoverflow.com/tags/dart
As I see it exprort is complementary to one class/one library approach. If you organize your package in that way (as opposed to one library with numbers of source files), you probably would not like press clients of your package import dozens libraries to make it work.So in main library of your package you export all necessary inner libraries.I believe you right about external libraries - by all appearances they should be exported rarely if ever.
--
For other discussions, see https://groups.google.com/a/dartlang.org/
For HOWTO questions, visit http://stackoverflow.com/tags/dart
To file a bug report or feature request, go to http://www.dartbug.com/new
1) Do we have any recommendations on how to use export? For example: "only export libraries you implement".2) Does all this makes sense? I mean: couldn't Dart just simply reexport the symbols in "dart:async" as if they had been in fact defined in "dart:async" and let them go down recursively?
If we have no definite answers for 1 or 2, export is a very dangerous tool IMHO (at least for beginners).