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
For the Deno runtime, I decided a while back to standardize on implementing one syntax for users to define their HTTP handler code, and that syntax was to match Edge functions (i.e. export default (req: Request) => Response | Promise<Response>).
This signature represents the ideal "Vercel syntax" IMO, and if we can keep it standardized between all supported JS runtimes, then it would make interoperability easier.
The text was updated successfully, but these errors were encountered:
For the Deno runtime, I decided a while back to standardize on implementing one syntax for users to define their HTTP handler code, and that syntax was to match Edge functions (i.e.
export default (req: Request) => Response | Promise<Response>
).This signature represents the ideal "Vercel syntax" IMO, and if we can keep it standardized between all supported JS runtimes, then it would make interoperability easier.
The text was updated successfully, but these errors were encountered: