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

Issue 1777453002: Modernize the package's style. (Closed)

Created:
4 years, 9 months ago by nweiz
Modified:
4 years, 9 months ago
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/async.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Modernize the package's style. This moves the package to new-style doc comments, deprecates separate top-level libraries, and removes library tags. It also deprecates some top-level classes in favor of static const fields. There's more that could be done, but this fixes most of the low-hanging fruit. R=lrn@google.com Committed: https://github.com/dart-lang/async/commit/66843f16c9becf164229e72ec5e04b205332a5f9

Patch Set 1 #

Total comments: 10

Patch Set 2 : Code review changes #

Patch Set 3 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+407 lines, -497 lines) Patch
M CHANGELOG.md View 1 1 chunk +13 lines, -0 lines 0 comments Download
M README.md View 1 chunk +9 lines, -22 lines 0 comments Download
M lib/async.dart View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M lib/result.dart View 1 chunk +7 lines, -250 lines 0 comments Download
M lib/src/async_memoizer.dart View 1 2 chunks +2 lines, -4 lines 0 comments Download
M lib/src/cancelable_operation.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/event_sink.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/future.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/sink.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/stream_consumer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/stream_sink.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/delegate/stream_subscription.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/future_group.dart View 1 2 chunks +1 line, -3 lines 0 comments Download
M lib/src/lazy_stream.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/null_stream_sink.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/restartable_timer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A lib/src/result.dart View 1 2 1 chunk +164 lines, -0 lines 0 comments Download
A lib/src/result/capture_sink.dart View 1 chunk +27 lines, -0 lines 0 comments Download
A lib/src/result/capture_transformer.dart View 1 chunk +22 lines, -0 lines 0 comments Download
A lib/src/result/error.dart View 1 chunk +45 lines, -0 lines 0 comments Download
A + lib/src/result/future.dart View 1 chunk +1 line, -3 lines 0 comments Download
A lib/src/result/release_sink.dart View 1 chunk +34 lines, -0 lines 0 comments Download
A lib/src/result/release_transformer.dart View 1 chunk +22 lines, -0 lines 0 comments Download
A lib/src/result/value.dart View 1 chunk +30 lines, -0 lines 0 comments Download
D lib/src/result_future.dart View 1 chunk +0 lines, -35 lines 0 comments Download
M lib/src/single_subscription_transformer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_completer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_group.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_queue.dart View 1 2 1 chunk +1 line, -3 lines 0 comments Download
M lib/src/stream_sink_completer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_sink_transformer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_sink_transformer/handler_transformer.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_sink_transformer/stream_transformer_wrapper.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/src/stream_splitter.dart View 1 2 1 chunk +1 line, -3 lines 0 comments Download
A + lib/src/stream_zip.dart View 1 chunk +14 lines, -13 lines 0 comments Download
M lib/src/subscription_stream.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M lib/stream_zip.dart View 1 chunk +3 lines, -113 lines 0 comments Download
M pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download
M test/result_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M test/stream_group_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M test/stream_zip_test.dart View 1 chunk +2 lines, -1 line 0 comments Download
M test/utils.dart View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
nweiz
I'd really like to be able to commit this tomorrow, so the package can by ...
4 years, 9 months ago (2016-03-08 03:20:06 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1777453002/diff/1/lib/src/async_memoizer.dart File lib/src/async_memoizer.dart (right): https://codereview.chromium.org/1777453002/diff/1/lib/src/async_memoizer.dart#newcode41 lib/src/async_memoizer.dart:41: /// If [run] has already been called, this ...
4 years, 9 months ago (2016-03-08 10:40:37 UTC) #3
nweiz
Code review changes
4 years, 9 months ago (2016-03-08 20:21:55 UTC) #4
nweiz
Code review changes
4 years, 9 months ago (2016-03-08 20:23:35 UTC) #5
nweiz
https://codereview.chromium.org/1777453002/diff/1/lib/src/async_memoizer.dart File lib/src/async_memoizer.dart (right): https://codereview.chromium.org/1777453002/diff/1/lib/src/async_memoizer.dart#newcode41 lib/src/async_memoizer.dart:41: /// If [run] has already been called, this returns ...
4 years, 9 months ago (2016-03-08 20:23:41 UTC) #6
nweiz
4 years, 9 months ago (2016-03-08 20:24:22 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
66843f16c9becf164229e72ec5e04b205332a5f9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698