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

Issue 1566603002: Add a StreamSinkTransformer class. (Closed)

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

Description

Add a StreamSinkTransformer class. This makes it easier to programmatically manipulate sinks. In particular, StreamSinkTransformer.fromStreamTransformer makes it easy to use existing encoders and codecs when emitting data. R=lrn@google.com Committed: https://github.com/dart-lang/async/commit/cf8815ea178e54a00980bba618c4a236f75f014d

Patch Set 1 #

Patch Set 2 : Update pubspec. #

Total comments: 14

Patch Set 3 : Code review changes #

Total comments: 4

Patch Set 4 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -1 line) Patch
M CHANGELOG.md View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M lib/async.dart View 1 chunk +1 line, -0 lines 0 comments Download
A lib/src/stream_sink_transformer.dart View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A lib/src/stream_sink_transformer/handler_transformer.dart View 1 2 3 1 chunk +107 lines, -0 lines 0 comments Download
A lib/src/stream_sink_transformer/stream_transformer_wrapper.dart View 1 chunk +62 lines, -0 lines 0 comments Download
M pubspec.yaml View 1 2 1 chunk +1 line, -1 line 0 comments Download
A test/stream_sink_transformer_test.dart View 1 chunk +218 lines, -0 lines 0 comments Download
M test/utils.dart View 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
nweiz
4 years, 11 months ago (2016-01-06 01:34:11 UTC) #1
Lasse Reichstein Nielsen
https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart File lib/src/stream_sink_transformer.dart (right): https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart#newcode20 lib/src/stream_sink_transformer.dart:20: /// It's good practice to write transformers that can ...
4 years, 11 months ago (2016-01-07 07:37:02 UTC) #2
nweiz
Code review changes
4 years, 11 months ago (2016-01-07 21:32:15 UTC) #3
nweiz
https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart File lib/src/stream_sink_transformer.dart (right): https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart#newcode20 lib/src/stream_sink_transformer.dart:20: /// It's good practice to write transformers that can ...
4 years, 11 months ago (2016-01-07 21:32:26 UTC) #4
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart File lib/src/stream_sink_transformer.dart (right): https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer.dart#newcode20 lib/src/stream_sink_transformer.dart:20: /// It's good practice to write transformers that ...
4 years, 11 months ago (2016-01-08 07:23:06 UTC) #5
nweiz
Code review changes
4 years, 11 months ago (2016-01-11 21:05:47 UTC) #6
nweiz
https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer/handler_transformer.dart File lib/src/stream_sink_transformer/handler_transformer.dart (right): https://codereview.chromium.org/1566603002/diff/20001/lib/src/stream_sink_transformer/handler_transformer.dart#newcode78 lib/src/stream_sink_transformer/handler_transformer.dart:78: handleDone: (sink) => sink.close()))); On 2016/01/08 07:23:06, Lasse Reichstein ...
4 years, 11 months ago (2016-01-11 21:06:14 UTC) #7
nweiz
4 years, 11 months ago (2016-01-11 21:06:24 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
cf8815ea178e54a00980bba618c4a236f75f014d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698