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
Continuing #2046, the lifetime issue is still a headache, that the async block basically cannot access the state when it's executed. Currently, I stick to futures::stream::unfold workaround to bind streams with states.. IMO, the future block of scan could own the state and returns to stream just like what unfold did . Perhaps we can make this change, or are there any other considerations for this design?
onsails, ivormetcalf, hjfreyer, mammothbane, EFanZh and 3 more