Netlify Background Functions

Hi,

I haven’t found much info on background functions and have a couple questions. I understand that background functions are asynchronous functions. However, I would like to understand:

  • Is there an API available to understand when a background function has completed? If not how would I know when a background function has completed.
  • Does Netlify provide a mechanism to store the results somewhere that I can then retrieve? If not what would some practical examples of where I can store the results? My first thought is an S3 bucket.

Thanks for your time.

Hi @scottfwalter,

For the first question this might help:

https://answers.netlify.com/t/cors-error-with-background-functions-only/40562/3?u=hrishikesh

For the second, if by results you mean files and data, then you’d have to rely on external database and storage solutions like S3 or Firebase.