Hey. I'm sending notification for users via WebSoc...
# spring
k
Hey. I'm sending notification for users via WebSocket, but previously I need to fetch some data from DB. I was thinking about doing both processes asynchronously, but I'm not sure if that is proper way of doing that.
Copy code
launch(CommonPool) {
			sendNotifications(updatedItemsIds) // fetch data and send notification via WS
		}
Any thoughts on that?
q
have same solution. Only with my own thread pool