Skip to content

Commit

Permalink
Use a List rather than a Queue in StreamSplitter.
Browse files Browse the repository at this point in the history
R=lrn@google.com

Review URL: https://codereview.chromium.org//1205143002 .
  • Loading branch information
nex3 committed Jul 8, 2015
1 parent 8d5716a commit d1128cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/stream_splitter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class StreamSplitter<T> {

/// The buffer of events or errors that have already been emitted by
/// [_stream].
final _buffer = new Queue<Result<T>>();
final _buffer = new List<Result<T>>();

/// The controllers for branches that are listening for future events from
/// [_stream].
Expand Down

0 comments on commit d1128cf

Please sign in to comment.