fetch-event-source icon indicating copy to clipboard operation
fetch-event-source copied to clipboard

wrong? type of onmessage

Open pociej opened this issue 2 years ago • 0 comments
trafficstars

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.

pociej avatar Feb 03 '23 07:02 pociej