fn process_external_request_without_messaging(
rx_from_signal_handler: &mut AquaReceiver<InternalCommand>,
sender: String,
) -> (bool, bool, bool)Expand description
Checks for new commands from the signal handler, specifically for modules that don’t use messaging.
This associated function provides a streamlined way to process external requests
for components that only listen to the signal handler channel. It attempts to
receive without blocking InternalCommand messages and specifically looks for
a Quit command.
§Arguments
rx_from_signal_handler- A reference to the receiver end of the channel for commands originating from the signal handler.
§Returns
A tuple (bool, bool, bool) indicating the status of commands received:
- The first
boolistrueif aQuitcommand was received; otherwisefalse. - The second
boolis alwaysfalseas “Start” commands are not processed by this function. - The third
boolis alwaysfalseas “Stop” commands are not processed by this function.