-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Create a EventSource implementation #10298
Comments
This is not something that would require unique support in the CLI. It is something that could start as a community package and maybe be added to the std library. Deno includes the primitives to provide this already, like the fetch API and the DOM |
@MierenManz here is the issue mentioned in Discord. Re-opening, as suggested it is a community project and we have increased our desire for inclusion of other web platform APIs, even if they don't require specialised support from the Deno runtime to work. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Closes #10298 --------- Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com>
It seems there is no implementation for EventSource to read server-sent events in deno.
It would be a useful feature when reading events from another server from deno, just like one would in a browser client.
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#receiving_events_from_the_server
The text was updated successfully, but these errors were encountered: