smartrx/ts/smartrx.plugins.rxjs.ts

18 lines
407 B
TypeScript
Raw Normal View History

2020-05-27 18:49:44 +00:00
// this file is intended to keep the bundle size down
2023-11-01 13:12:53 +00:00
export { Observable, Subject, fromEvent, ReplaySubject, Subscription, from, of } from 'rxjs';
2022-08-05 10:50:37 +00:00
export type { Observer } from 'rxjs';
2020-05-27 19:44:35 +00:00
2023-07-24 11:59:46 +00:00
import { startWith, takeUntil, map, debounce, debounceTime, throttleTime, filter } 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,
2023-07-24 11:59:46 +00:00
filter,
2020-05-27 19:44:35 +00:00
};