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
{{ message }}
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Wouldn't it be more useful if addTask would return the original promise?
One could then write const response = await addTask(fetch('/api/test')); instead of
Wouldn't it be more useful if
addTask
would return the original promise?One could then write
const response = await addTask(fetch('/api/test'));
instead ofEdit: @DanHarman also mentioned it.
The text was updated successfully, but these errors were encountered: