Skip to content

Instantly share code, notes, and snippets.

@cartant
Last active May 12, 2018 02:39
Show Gist options
  • Select an option

  • Save cartant/5f856608085f5ecc79634e13af74d17b to your computer and use it in GitHub Desktop.

Select an option

Save cartant/5f856608085f5ecc79634e13af74d17b to your computer and use it in GitHub Desktop.
import { pipe } from "rxjs";
import { debounceTime, distinctUntilChanged } from "rxjs/operators";
const debounceInput = pipe(
debounceTime<string>(400),
distinctUntilChanged()
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment