Skip to content

Instantly share code, notes, and snippets.

@cartant
Last active February 9, 2019 13:39
Show Gist options
  • Save cartant/dbeed166bb39d4fb3cb6d5bbdba39396 to your computer and use it in GitHub Desktop.
Save cartant/dbeed166bb39d4fb3cb6d5bbdba39396 to your computer and use it in GitHub Desktop.
import { range } from "rxjs";
import { debug } from "./debug";
const op = debug();
console.log("first use:");
range(1, 2).pipe(op).subscribe();
console.log("second use:");
range(1, 2).pipe(op).subscribe();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment