Skip to content

Undici.eventSource #2976

Answered by Uzlopak
tushar32 asked this question in Q&A
Mar 20, 2024 · 1 comments · 10 replies
Discussion options

You must be logged in to vote

The expectation that it is "not" production ready is wrong. I am the main developer for this implementation. I can assure you that I was very thorough in the implementation. It is developed up to the spec.

But, there can be reasons, why you would e.g. use the "eventsource" npm package. E.g. the eventsource npm package allows you set headers while instantiating the eventsource connection. Or set a specific proxy - something which is also possible with undici, but not done on eventsource level but iirc via setting a globaldispatcher.

Our EventSource implementation is now released for about 6-8 weeks. So we have not enough feedback to claim that it is battletested. But this will only be poss…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@tushar32
Comment options

@metcoder95
Comment options

@Uzlopak
Comment options

Answer selected by tushar32
@tushar32
Comment options

@Uzlopak
Comment options

@tushar32
Comment options

@tushar32
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants