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
Our Node.js middleware is under active development, and unfortunately that has resulted in a few of our return types being only partially implemented.
An updated version of the Node.js middleware is in progress, but for the short term I would recommend returning an empty StructuredReturn or ResponseBody in leau of a proper void.
We can leave this issue open to ensure that the upcoming middleware release tests the void return is working correctly.
Thanks for opening the issue, and sorry for the inconvenience
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
Function template: void
Language: node
There is possible return types in the docs https://github.com/knative/func/tree/main/templates/node/cloudevents#handle-signature:
When I try to return nothing:
I get error
How do I return void?
The text was updated successfully, but these errors were encountered: