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

Issue 1632903004: Add StreamChannelTransformer. (Closed)

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

Description

Add StreamChannelTransformer. This makes StreamChannel.transform() take a StreamChannelTransformer rather than a codec. This is better, since a codec is explicitly intended to convert chunked data, while transformers are more general. R=rnystrom@google.com Committed: https://github.com/dart-lang/stream_channel/commit/8e628719a7ed4d7974c9a746d9de9da8f292f640

Patch Set 1 #

Total comments: 4

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -16 lines) Patch
M lib/src/isolate_channel.dart View 1 chunk +1 line, -1 line 0 comments Download
A lib/src/stream_channel_transformer.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
M lib/stream_channel.dart View 3 chunks +7 lines, -14 lines 0 comments Download
M test/stream_channel_test.dart View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
nweiz
After talking to Lasse and Florian about a potential Codec, they convinced me that it ...
4 years, 11 months ago (2016-01-27 01:28:56 UTC) #2
Bob Nystrom
lgtm https://codereview.chromium.org/1632903004/diff/1/lib/src/isolate_channel.dart File lib/src/isolate_channel.dart (right): https://codereview.chromium.org/1632903004/diff/1/lib/src/isolate_channel.dart#newcode131 lib/src/isolate_channel.dart:131: if (_isDone) return new Future.value(); I wonder if ...
4 years, 11 months ago (2016-01-27 19:30:41 UTC) #3
nweiz
Code review changes
4 years, 11 months ago (2016-01-27 23:23:25 UTC) #4
nweiz
https://codereview.chromium.org/1632903004/diff/1/lib/src/isolate_channel.dart File lib/src/isolate_channel.dart (right): https://codereview.chromium.org/1632903004/diff/1/lib/src/isolate_channel.dart#newcode131 lib/src/isolate_channel.dart:131: if (_isDone) return new Future.value(); On 2016/01/27 19:30:40, Bob ...
4 years, 11 months ago (2016-01-27 23:23:49 UTC) #5
nweiz
4 years, 11 months ago (2016-01-27 23:24:51 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
8e628719a7ed4d7974c9a746d9de9da8f292f640 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698