Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I find EventSource running? get the EventSource instance that exists? #194

Open
huudatk53 opened this issue Aug 8, 2021 · 0 comments

Comments

@huudatk53
Copy link

I using nodejs, I create new EventSource(url) then add listEventsoure variable and call onmessage.
If I foreach listEventSource and call item.close(). All event close.
And I clean listEventsoure ( not call method close). But onmessage still working.
Is there an id to identify the generated event source object?
How can I find, check EventSource exists and close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant