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

Issue 1305063002: Make it possible to not complete a request when the event source is done. (Closed)

Created:
5 years, 4 months ago by Lasse Reichstein Nielsen
Modified:
5 years, 4 months ago
Reviewers:
nweiz, floitsch
CC:
reviews_dartlang.org
Base URL:
https://github.com/dart-lang/async@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make it possible to not complete a request when the event source is done. Abstract the event source of a stream queue so it doesn't have to be a stream. This is in anticipation of adding look-ahead which will need to keep the request alive until the user fast-forwards or rewindes, even after the original event source is done, and which will need a stream queue fed by the look-ahead request, not by a stream. R=nweiz@google.com Committed: https://github.com/dart-lang/async/commit/5661c47a5fdeb7168952c5bb2ed3010aea2050c3

Patch Set 1 #

Total comments: 25

Patch Set 2 : Address comments, renamed some methods. #

Total comments: 1

Patch Set 3 : Fix long line. #

Patch Set 4 : Rebase to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -171 lines) Patch
M lib/src/stream_queue.dart View 1 2 3 16 chunks +189 lines, -171 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Lasse Reichstein Nielsen
5 years, 4 months ago (2015-08-21 12:11:47 UTC) #2
nweiz
https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart (left): https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart#oldcode261 lib/src/stream_queue.dart:261: Nit: keep this empty line. https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart (right): ...
5 years, 4 months ago (2015-08-21 19:43:57 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart (right): https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart#newcode417 lib/src/stream_queue.dart:417: /// If the function returns `false` when the stream ...
5 years, 4 months ago (2015-08-23 11:30:01 UTC) #4
Lasse Reichstein Nielsen
PTAL https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart (left): https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart#oldcode261 lib/src/stream_queue.dart:261: I've documented the function instead. https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart ...
5 years, 4 months ago (2015-08-24 08:31:33 UTC) #5
nweiz
lgtm https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart File lib/src/stream_queue.dart (right): https://codereview.chromium.org/1305063002/diff/1/lib/src/stream_queue.dart#newcode417 lib/src/stream_queue.dart:417: /// If the function returns `false` when the ...
5 years, 4 months ago (2015-08-25 00:38:21 UTC) #6
Lasse Reichstein Nielsen
5 years, 4 months ago (2015-08-25 07:51:56 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
5661c47a5fdeb7168952c5bb2ed3010aea2050c3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698