Azure / Azure/fetch-event-source

wrong? type of onmessage

Open
#31 0 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.