macro_rules! perform_schedule_check {
(
$channels:expr,
$result_var:expr,
$send_lock:expr,
$receive_lock:expr,
$location:expr
) => { ... };
}Expand description
A macro to perform a request-response check with the schedule_check module.
This macro encapsulates the logic for:
- Sending a
ScheduleCheckcommand. - Receiving a boolean response.
- Handling send/receive errors with a “log-once” pattern.
- Assigning the result, defaulting to
falseon any communication failure.