daily pastebin goal
0%
SHARE
TWEET

Untitled

a guest May 16th, 2018 111 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import { Observable } from "rxjs";
  2. import { debounceTime, distinctUntilChanged } from "rxjs/operators";
  3.  
  4. const debounceInput = (changes: Observable<string>) => changes.pipe(
  5.   debounceTime(400),
  6.   distinctUntilChanged()
  7. );
RAW Paste Data
Top