sending.rs: rename handle_futures->handle_response

The future is already done when this is called.
This commit is contained in:
Lambda 2024-05-22 18:48:16 +00:00
parent 9961f1465f
commit aa69b7d15c

View file

@ -198,7 +198,7 @@ impl Service {
select! { select! {
Some(response) = futures.next() => Some(response) = futures.next() =>
if let Some(HandlerInputs { kind, events }) = if let Some(HandlerInputs { kind, events }) =
self.handle_futures( self.handle_response(
response, response,
&mut current_transaction_status, &mut current_transaction_status,
)? )?
@ -226,7 +226,7 @@ impl Service {
), ),
), ),
)] )]
fn handle_futures( fn handle_response(
&self, &self,
response: HandlerResponse, response: HandlerResponse,
current_transaction_status: &mut TransactionStatusMap, current_transaction_status: &mut TransactionStatusMap,