You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to this blog-post top-level awaits should be fully supported. However, when I try this with the fetch API, I still have to use the await keyword within my handler function otherwise response.text() will be empty.
Hi there,
According to this blog-post top-level awaits should be fully supported. However, when I try this with the fetch API, I still have to use the
await
keyword within my handler function otherwiseresponse.text()
will be empty.In short:
message: await response.text(),
vs
message: response.text(),
Am I misunderstanding something?
The text was updated successfully, but these errors were encountered: