Skip to content

Commit

Permalink
revert(takeUntil): revert takeUntil implementation
Browse files Browse the repository at this point in the history
per discussion with @staltz the takeUntil implementation shouldn't use
other operators (in this case .take()) to create other operators
  • Loading branch information
TylorS committed Mar 20, 2016
1 parent 304bed1 commit 6f62fc1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
5 changes: 0 additions & 5 deletions src/Stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {FoldOperator} from './operator/FoldOperator';
import {LastOperator} from './operator/LastOperator';
import {RememberOperator} from './operator/RememberOperator';
import {StartWithOperator} from './operator/StartWithOperator';
import {TakeUntilOperator} from './operator/TakeUntilOperator';
import {
CombineProducer,
CombineInstanceSignature,
Expand Down Expand Up @@ -152,10 +151,6 @@ export class Stream<T> implements Observer<T> {
return new Stream<T>(new StartWithOperator(this, x));
}

takeUntil<T>(s: Stream<any>): Stream<T> {
return new Stream<T>(new TakeUntilOperator(this, s));
}

merge(other: Stream<T>): Stream<T> {
return Stream.merge(this, other);
}
Expand Down
23 changes: 0 additions & 23 deletions src/operator/TakeUntilOperator.ts

This file was deleted.

20 changes: 0 additions & 20 deletions tests/operator/takeUntil.ts

This file was deleted.

0 comments on commit 6f62fc1

Please sign in to comment.