Skip to content

Instantly share code, notes, and snippets.

@teyfix
Last active June 20, 2021 12:39
Show Gist options
  • Select an option

  • Save teyfix/de4a25c552f2e2e366711ba71043bb0e to your computer and use it in GitHub Desktop.

Select an option

Save teyfix/de4a25c552f2e2e366711ba71043bb0e to your computer and use it in GitHub Desktop.
rxjs - creating subject
const subject = new Subject();
subject.next(1);
subject.next(2);
subject.next(3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment