File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 1.3.4
2+
3+ * Modify code to eliminate Future flattening.
4+
15## 1.3.3
26
37* Declare support for ` async ` 2.0.0.
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class Pool {
122122 // synchronously in case the pool is closed immediately afterwards. Async
123123 // functions have an asynchronous gap between calling and running the body,
124124 // and [close] could be called during that gap. See #3.
125- return request ().then < Future < T >> ((resource) {
125+ return request ().then ((resource) {
126126 return new Future <T >.sync (callback).whenComplete (resource.release);
127127 });
128128 }
Original file line number Diff line number Diff line change 11name : pool
2- version : 1.3.3
2+ version : 1.3.4
33author :
Dart Team <[email protected] > 44description : A class for managing a finite pool of resources.
55homepage : https://github.com/dart-lang/pool
You can’t perform that action at this time.
0 commit comments