Re:Routes don't look flat enough to me
by larusso on Tuesday February 14, 2023 @01:40AM
(#34786214)
Thanks for the hint with the „iteration“ function. I haven’t touched Closure in some years but had a problem a few month ago where I wanted to iterate over items returned from a REST Api which where presented in a pageable API with rust. I managed to cook up a solution with a custom iterator trait impl. Doesn‘t work with async though and I had a hard time to find a solution/search term for this problem. Don‘t know if any of this is applicable to rust but at least another resource.
[ Parent
| on HN ]
There are no comments on this comment yet.