interval doubling
#7328
-
Please explain why this example doubling the output and how to avoid the problem import { interval, Subject } from 'rxjs'; let x = new Subject(); output is 00112233 etc |
Beta Was this translation helpful? Give feedback.
Answered by
voliva
Aug 30, 2023
Replies: 1 comment
-
It shouldn't, and it doesn't https://codesandbox.io/s/rxjs-playground-3rkq8z?file=/src/index.ts Are you sure your code snippet is running just once? Otherwise it might be a bug of the rxjs version you're using. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ayerix
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It shouldn't, and it doesn't https://codesandbox.io/s/rxjs-playground-3rkq8z?file=/src/index.ts
Are you sure your code snippet is running just once?
Otherwise it might be a bug of the rxjs version you're using.