Azure / Azure/fetch-event-source
Variable outside await fetchEventSource is undefined
Open
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
The code is working as expected
```ts
onmessage(ev) {
console.log(ev.data);
}
```
However, when using the `ev.data` , i can't access variable outside fetchEventSource. How to handle it ?
Contributor guide
Assessment
This issue has not been assessed yet.