Get return function task #1342
Answered
by
Lancetnik
jonatasoli
asked this question in
Q&A
-
Hi, I have asked from a problem with the return function. cart_uuid: str,
payment_method: str,
payment_gateway: str,
user: Any,
bootstrap: Any = Depends(get_bootstrap),
checkout_task = await bootstrap.message.broker.publish(
{
'cart_uuid': uuid,
'payment_gateway': cache_cart.gateway_provider,
'payment_method': cache_cart.payment_method,
'user': user,
},
queue=RabbitQueue('checkout'),
) checkout_task is a variable receive the return this checkout task ex:. @worker.subscriber
|
Beta Was this translation helpful? Give feedback.
Answered by
Lancetnik
Apr 4, 2024
Replies: 1 comment 2 replies
-
Are you looking for "rpc"? https://faststream.airt.ai/latest/rabbit/rpc/ |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jonatasoli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you looking for "rpc"? https://faststream.airt.ai/latest/rabbit/rpc/