This repository was archived by the owner on May 10, 2021. It is now read-only.
Allow API routes to optionally run as background function #166
Labels
priority: low
type: feature
code contributing to the implementation of a feature and/or user facing functionality
Is your feature request related to a problem? Please describe.
Some API routes we build start out nice and simple.
As we complete integrations with 3rd party systems (SAP for example), the tasks these need to perform can unexpectedly grow in complexity. Especially where client-side systems already exist to handle functionality and a client decides not to streamline or rebuild slow-running BAU systems.
Describe the solution you'd like
It would be simple to be able to define a Next API route that we discover needs to run for more than 10 seconds to run as a background function.
Describe alternatives you've considered
Additional context
-background
to keep all our API routes in a common build step.The text was updated successfully, but these errors were encountered: