smartrx/ts/smartrx.plugins.rxjs.ts

17 lines
379 B
TypeScript
Raw Normal View History

2020-05-27 18:49:44 +00:00
// this file is intended to keep the bundle size down
2022-08-05 10:50:37 +00:00
export { Observable, Subject, fromEvent, ReplaySubject, Subscription } from 'rxjs';
export type { Observer } from 'rxjs';
2020-05-27 19:44:35 +00:00
2023-06-10 11:33:09 +00:00
import { startWith, takeUntil, map, debounce, debounceTime, throttleTime } from 'rxjs/operators';
2020-05-27 19:44:35 +00:00
export const ops = {
2020-07-12 01:53:32 +00:00
debounce,
debounceTime,
map,
2020-05-27 19:44:35 +00:00
startWith,
takeUntil,
2023-06-10 11:33:09 +00:00
throttleTime,
2020-05-27 19:44:35 +00:00
};