Drop some duplicated logic and defns

This commit is contained in:
Jack Kingsman
2026-04-03 17:47:44 -07:00
parent e2ddf5f79f
commit 67873e8dd9
8 changed files with 58 additions and 89 deletions
+1 -2
View File
@@ -20,6 +20,7 @@ from app.repository import (
)
from app.services import dm_ack_tracker
from app.services.messages import (
BroadcastFn,
broadcast_message,
build_stored_outgoing_channel_message,
create_outgoing_channel_message,
@@ -33,8 +34,6 @@ NO_RADIO_RESPONSE_AFTER_SEND_DETAIL = (
"Send command was issued to the radio, but no response was heard back. "
"The message may or may not have sent successfully."
)
BroadcastFn = Callable[..., Any]
TrackAckFn = Callable[[str, int, int], bool]
NowFn = Callable[[], float]
OutgoingReservationKey = tuple[str, str, str]