Azure / Azure/fetch-event-source
wrong? type of onmessage
Open
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
https://github.com/Azure/fetch-event-source/blob/main/src/fetch.ts#L19. Correct me if I am wrong byt I dont see any reason to have Promise as return type here, and it forces you to add artifical `return Promise.resolve()` or something like this at the end of the code.
Contributor guide
Assessment
This issue has not been assessed yet.