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
}