Flow Control in Axum

One of the problems in asynchronous message passing is preventing a situation where a sender produces messages faster than a receiver can handle them. Consider this piece of Axum code: foreach(var price in GetNextStockPrice()) {     report::Price <– price; } If the stock quotes are produced faster than the agent behind the report channel can…

3