pub(super) async fn hold_for_unavailable(
state: &AppState,
auth_via: ReactiveAuthVia,
req: &InjectionRequest,
unavailable: &Unavailable,
replay: &mut Reservation,
) -> ValueExpand description
Hold a message for an agent that can’t work now (unavailable), or,
where the hold doesn’t apply (a LAN or cross-channel hop, a cron fire),
refuse it with the reason: either way it is not injected into a turn
that would fail and lose it. The refusal begins with
crate::backend::reactive::UNAVAILABLE_PREFIX.