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

Issue 12381064: Add Stream.periodic. (Closed)

Created:
7 years, 9 months ago by floitsch
Modified:
7 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 13

Patch Set 2 : Bring Stream.periodic in line with Future.delayed and add tests. #

Patch Set 3 : Update doc. #

Total comments: 8

Patch Set 4 : Address comments. Add test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -0 lines) Patch
M sdk/lib/async/stream.dart View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A tests/lib/async/stream_periodic2_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/lib/async/stream_periodic3_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/lib/async/stream_periodic4_test.dart View 1 2 3 1 chunk +39 lines, -0 lines 0 comments Download
A tests/lib/async/stream_periodic5_test.dart View 1 2 3 1 chunk +46 lines, -0 lines 0 comments Download
A tests/lib/async/stream_periodic_test.dart View 1 1 chunk +22 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
floitsch
Still missing tests. Also: we need to decide on "periodic" and "repeating". Timer and Stream ...
7 years, 9 months ago (2013-03-03 00:16:12 UTC) #1
Lasse Reichstein Nielsen
LGTM if we can agree on semantics. https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart File sdk/lib/async/stream.dart (right): https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart#newcode83 sdk/lib/async/stream.dart:83: * this ...
7 years, 9 months ago (2013-03-04 08:43:04 UTC) #2
Sean Eagan
https://chromiumcodereview.appspot.com/12381064/diff/1/sdk/lib/async/stream.dart File sdk/lib/async/stream.dart (right): https://chromiumcodereview.appspot.com/12381064/diff/1/sdk/lib/async/stream.dart#newcode82 sdk/lib/async/stream.dart:82: * The sent event is a [Duration] object that ...
7 years, 9 months ago (2013-03-04 17:02:14 UTC) #3
floitsch
PTAL. Brought the Stream.periodic interface in line with Future.delayed. https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart File sdk/lib/async/stream.dart (right): https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart#newcode83 sdk/lib/async/stream.dart:83: ...
7 years, 9 months ago (2013-03-13 19:26:55 UTC) #4
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart File sdk/lib/async/stream.dart (right): https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart#newcode92 sdk/lib/async/stream.dart:92: StreamController controller; No, it's fine. We would only ...
7 years, 9 months ago (2013-03-14 06:54:46 UTC) #5
Lasse Reichstein Nielsen
lgtm
7 years, 9 months ago (2013-03-14 06:54:46 UTC) #6
floitsch
https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart File sdk/lib/async/stream.dart (right): https://codereview.chromium.org/12381064/diff/1/sdk/lib/async/stream.dart#newcode82 sdk/lib/async/stream.dart:82: * The sent event is a [Duration] object that ...
7 years, 9 months ago (2013-03-14 13:27:34 UTC) #7
floitsch
7 years, 9 months ago (2013-03-14 13:43:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 manually as r20021 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698