fetch-event-source
fetch-event-source copied to clipboard
Pr/make web worker friendly
With this change fetchEventSource can be used from within a web worker
Hello, is there any blockers to merge this PR?
I'd also like this PR to be merged, this would be a huge help, thanks!
@vishwam hey just bumping this again, if you have a chance to look at it, thanks!
I'm also very interested in seeing this PR getting merged. In regards to the other open PRs, is this project still in use at microsoft/ Azure? Is it still maintained?
FYI adding
Object.defineProperty(global, 'self', {
writable: true,
enumerable: false,
configurable: true,
value: global,
});
in index.ts
will also make this node-compatible!
Do you have any plans to support the running of service workers?
it seems this project is abandoned, so I have forked it to make it compatible with Cloudflare Workers here and published our forked version on npm at @magiccircle/fetch-event-source-cfworker.
I do not intend to maintain this fork, but dropping a link here in case it's helpful to others!