Would it be possible that the step method returns the data returned by the yield call? It would make the calling code cleaner when the block don't just modify objects, but also returns data.
It seems quite straightforward to fix in the codebase, but i'm not sure of the potential consequences of such a behavioral change.
Would it be possible that the step method returns the data returned by the yield call? It would make the calling code cleaner when the block don't just modify objects, but also returns data.
It seems quite straightforward to fix in the codebase, but i'm not sure of the potential consequences of such a behavioral change.