background tasks in t3 stack?

is there a recommended way to run background tasks with the t3 stack? I am putting some objects in s3 buckets and returning the response to the user, but Iwant the s3 event to trigger some processing which then will update my db. Do I need to spin up a separate lambda that connects to my database via prisma, or is there a built-in solution?
2 Replies
WN210
WN21013mo ago
or if not, is there a recommended way to set up the project so I can re use all of my prisma types in some lambda code?
Zan
Zan13mo ago
I use a custom nextjs server and forego serverless personally, then integrate any message queue