Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(245)

Issue 255123002: Add capture/release for results in package:async (Closed)

Created:
6 years, 7 months ago by Lasse Reichstein Nielsen
Modified:
6 years, 7 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add capture/release for results in package:async R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=36548

Patch Set 1 #

Patch Set 2 : Rename to "capture"/"release", make methods static. #

Patch Set 3 : Added captureStream/releaseStream too. #

Total comments: 4

Patch Set 4 : Add tests. Fix bugs found by tests. #

Patch Set 5 : More tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+555 lines, -3 lines) Patch
M pkg/async/README.md View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download
M pkg/async/lib/async.dart View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A pkg/async/lib/result.dart View 1 2 3 1 chunk +278 lines, -0 lines 0 comments Download
M pkg/async/pubspec.yaml View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A pkg/async/test/result_test.dart View 1 2 3 4 1 chunk +265 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Lasse Reichstein Nielsen
RFC: Should we have something like this? Should it be named differently (I prefer Reflect/Reifly, ...
6 years, 7 months ago (2014-04-29 08:08:52 UTC) #1
Anders Johnsen
On 2014/04/29 08:08:52, Lasse Reichstein Nielsen wrote: > RFC: Should we have something like this? ...
6 years, 7 months ago (2014-04-29 08:23:01 UTC) #2
Sean Eagan
6 years, 7 months ago (2014-04-30 18:00:46 UTC) #3
Sean Eagan
On 2014/04/30 18:00:46, Sean Eagan wrote: Result could be a synchronous concept as well: class ...
6 years, 7 months ago (2014-04-30 18:05:55 UTC) #4
Lasse Reichstein Nielsen
On 2014/04/30 18:05:55, Sean Eagan wrote: > On 2014/04/30 18:00:46, Sean Eagan wrote: > > ...
6 years, 7 months ago (2014-04-30 19:40:08 UTC) #5
Lasse Reichstein Nielsen
On 2014/04/30 18:05:55, Sean Eagan wrote: > On 2014/04/30 18:00:46, Sean Eagan wrote: > > ...
6 years, 7 months ago (2014-04-30 19:40:09 UTC) #6
Sean Eagan
On 2014/04/30 19:40:08, Lasse Reichstein Nielsen wrote: > On 2014/04/30 18:05:55, Sean Eagan wrote: > ...
6 years, 7 months ago (2014-05-07 14:23:46 UTC) #7
floitsch
LGTM. definitely in the package.
6 years, 7 months ago (2014-05-07 14:30:54 UTC) #8
Lasse Reichstein Nielsen
On 2014/05/07 14:23:46, Sean Eagan wrote: > > Maybe putting them in the Result namespace ...
6 years, 7 months ago (2014-05-20 08:03:25 UTC) #9
Lasse Reichstein Nielsen
Now, I'm getting doubts about this code. The Result class looks suspiciously like a Future. ...
6 years, 7 months ago (2014-05-20 08:32:28 UTC) #10
floitsch
On 2014/05/20 08:32:28, Lasse Reichstein Nielsen wrote: > Now, I'm getting doubts about this code. ...
6 years, 7 months ago (2014-05-20 14:36:20 UTC) #11
Lasse Reichstein Nielsen
Ok, then I'll stand by the current version. PTAL and see if it still lgty ...
6 years, 7 months ago (2014-05-21 10:13:49 UTC) #12
floitsch
LGTM with tests. https://codereview.chromium.org/255123002/diff/40001/pkg/async/lib/async.dart File pkg/async/lib/async.dart (right): https://codereview.chromium.org/255123002/diff/40001/pkg/async/lib/async.dart#newcode8 pkg/async/lib/async.dart:8: export "materialize.dart"; I think we should ...
6 years, 7 months ago (2014-05-22 12:15:21 UTC) #13
Lasse Reichstein Nielsen
https://codereview.chromium.org/255123002/diff/40001/pkg/async/lib/async.dart File pkg/async/lib/async.dart (right): https://codereview.chromium.org/255123002/diff/40001/pkg/async/lib/async.dart#newcode8 pkg/async/lib/async.dart:8: export "materialize.dart"; How would that differ from what we ...
6 years, 7 months ago (2014-05-23 07:14:24 UTC) #14
Lasse Reichstein Nielsen
I'll rename the library from "materialize" to "result".
6 years, 7 months ago (2014-05-23 07:14:51 UTC) #15
Lasse Reichstein Nielsen
6 years, 7 months ago (2014-05-23 08:41:19 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 manually as r36548 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698