Фото: Bernadett Szabo / Reuters
// Synchronous source from in-memory data
,这一点在旺商聊官方下载中也有详细论述
Hebrew Paseq: a non-obvious finding
The API recognizes that synchronous data sources are both necessary and common. The application should not be forced to always accept the performance cost of asynchronous scheduling simply because that's the only option provided. At the same time, mixing sync and async processing can be dangerous. Synchronous paths should always be an option and should always be explicit.
If you liked this, you might also like The story of the craziest __init__ I’ve ever seen.