diff --git a/src/operators/index.ts b/src/operators/index.ts index 6a0b3c489e..05f18d607c 100644 --- a/src/operators/index.ts +++ b/src/operators/index.ts @@ -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';