docbox-core 0.13.2

Docbox core business logic and functionality
Documentation
1
2
3
4
5
6
7
8
9
10
11
use super::{NotificationQueue, NotificationQueueMessage};

/// Notification queue that will only reply with [None] for
/// cases when a queue is not available
pub struct NoopNotificationQueue;

impl NotificationQueue for NoopNotificationQueue {
    async fn next_message(&mut self) -> Option<NotificationQueueMessage> {
        None
    }
}