Skip to content

Commit fb51a02

Browse files
jasonadenbenlesh
authored andcommitted
fix(subscribeOn): remove subscribeOn from reexport to support treesha… (#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.
1 parent 9ee234d commit fb51a02

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: src/operators/index.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ export { skipLast } from './skipLast';
7575
export { skipUntil } from './skipUntil';
7676
export { skipWhile } from './skipWhile';
7777
export { startWith } from './startWith';
78-
export { subscribeOn } from './subscribeOn';
78+
/**
79+
* TODO(https://github.com/ReactiveX/rxjs/issues/2900): Add back subscribeOn once it can be
80+
* treeshaken. Currently if this export is added back, it
81+
* forces apps to bring in asap scheduler along with
82+
* Immediate, root, and other supporting code.
83+
*/
84+
// export { subscribeOn } from './subscribeOn';
7985
export { switchAll } from './switchAll';
8086
export { switchMap } from './switchMap';
8187
export { switchMapTo } from './switchMapTo';

0 commit comments

Comments
 (0)