docs: public <T extends Notification> T getFromQueue() {
      int batchSize = 1;
      List<NotificationQueueDto> notificationDtos = dbClient.notificationQueueDao().selectOldest(batchSize);
      if (notificationDtos.isEmpty()) {
        return null;
      }
      dbClient.notificationQueueDao().delete(notificationDtos);
  
      return convertToNotification(notificationDtos);
    }