rscarson / rustyscript

Effortless JS integration for rust
MIT License
186 stars 23 forks source link

Fix global export of EventSource in deno_fetch extension #190

Closed kovaszab closed 3 months ago

kovaszab commented 3 months ago

This PR fixes the missing export of the Web API class EventSource to the global scope, and also add an example of the usage to web_features.rs example.

Link to the mdn docs: https://developer.mozilla.org/en-US/docs/Web/API/EventSource

rscarson commented 3 months ago

Awesome! Thanks!