moq-cli 0.8.1

Media over QUIC
1
2
3
4
5
6
7
8
9
10
11
//! Small MoQ-side helpers shared across endpoints.
//!
//! The dial and accept loops live in `moq-native` (`Client::publish`/`consume`
//! and `Server::serve_publish`/`serve_consume`); this module just carries the
//! systemd readiness notification used by every endpoint.

/// Notify systemd (if any) that the endpoint is up.
pub fn notify_ready() {
	#[cfg(unix)]
	let _ = sd_notify::notify(&[sd_notify::NotifyState::Ready]);
}