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
(Glad to contribute this, cutting an issue to gauge interest first)
Today we have the buffer layer which allows delegating requests to a background worker, but in serial.
I recently cut a change to reqwest that includes example code for a similar sort of layer, but this time processed in parallel by a different executor. It was fairly verbose boilerplate.
Would we want something similar in the tower's built in layers, under a feature flag? I could make it somewhat less opinionated by accepting an executor trait implementation. Or is that too niche to include in the main package?
Open to contributing something along these lines, but seeking feedback about what's useful (if anything :) )
The text was updated successfully, but these errors were encountered:
(Glad to contribute this, cutting an issue to gauge interest first)
Today we have the buffer layer which allows delegating requests to a background worker, but in serial.
I recently cut a change to reqwest that includes example code for a similar sort of layer, but this time processed in parallel by a different executor. It was fairly verbose boilerplate.
Would we want something similar in the tower's built in layers, under a feature flag? I could make it somewhat less opinionated by accepting an executor trait implementation. Or is that too niche to include in the main package?
Open to contributing something along these lines, but seeking feedback about what's useful (if anything :) )
The text was updated successfully, but these errors were encountered: