Hello, Is there any projects or examples on how to...
# orm-help
i
Hello, Is there any projects or examples on how to implement background events with Prisma, such as when some resolver was called and an event triggered inside of it? Like I have a file which I need to process in the background after uploading. So a user uploads a file and after it was uploaded successfully I start an event in the background, make calculations and give him a new file.
h
I don’t have an example right now, but in personal projects i use a redis queue and interface with it using bull. That way I can easily add tasks there https://www.npmjs.com/package/bull
i
Yeah, that what I thought of but I was curious about project structure