Best nitro hook to kill a DB connection?
I would like to use hyperdrive which from their docs requires to clean up the client using
waitUntil
:
I would like to avoid doing this in each route, so I'm thinking a plugin is the right wait, should I use afterResponse
?
Something like;
0 Replies