Skip to content

Commit

Permalink
fix(subscribeOn): remove subscribeOn from reexport to support treesha… (
Browse files Browse the repository at this point in the history
#2899)

* fix(subscribeOn): remove subscribeOn from reexport to support treeshakability

* chore(link): add issue link to TODO

Simply adding a link to the issue tracking the reason subscribeOn was omitted.
  • Loading branch information
jasonaden authored and benlesh committed Oct 5, 2017
1 parent 9ee234d commit fb51a02
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/operators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ export { skipLast } from './skipLast';
export { skipUntil } from './skipUntil';
export { skipWhile } from './skipWhile';
export { startWith } from './startWith';
export { subscribeOn } from './subscribeOn';
/**
* TODO(https://github.com/ReactiveX/rxjs/issues/2900): Add back subscribeOn once it can be
* treeshaken. Currently if this export is added back, it
* forces apps to bring in asap scheduler along with
* Immediate, root, and other supporting code.
*/
// export { subscribeOn } from './subscribeOn';
export { switchAll } from './switchAll';
export { switchMap } from './switchMap';
export { switchMapTo } from './switchMapTo';
Expand Down

0 comments on commit fb51a02

Please sign in to comment.