Repository navigation
Documentation on Handlers returning Promises #1189
|
Many function handlers expect us to return either nothing or a Promise: Should we return a Promise that resolves once we've responded to the client? |
Replies: 1 comment 1 reply
No
No
Yes
No, that's not right. |
No
No
Yes
No, that's not right.
async functionseemingly returningvoidactually returnsPromise<void>so we need to accept both signatures