You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some cases, you may want to shoot off a bunch of requests and defer processing the responses til later.
Proposed change
Introduce a Response<T = Message> type, this type would either be a future or into_future.
let response = client.request(...).await?; // Waits for the completion of the send.
let message = response.await?; // Waits for the receiving channel to get a message
Who benefits from the change(s)?
Users wanting to not wait for responses immediately
Alternative Approaches
No response
The text was updated successfully, but these errors were encountered:
Use case
In some cases, you may want to shoot off a bunch of requests and defer processing the responses til later.
Proposed change
Introduce a Response<T = Message> type, this type would either be a future or into_future.
Who benefits from the change(s)?
Users wanting to not wait for responses immediately
Alternative Approaches
No response
The text was updated successfully, but these errors were encountered: