Closed ericLemanissier closed 6 years ago
Will look at merging this and #6 next week. Thanks for the contribution!
I really like this idea, and thanks for bringing it up. I did encounter some issues with lambdas returning void in my test environment. I have committed an alternate implementation in b610807, please let me know if that works for your use case.
It simply forwards the return value of the callable to the caller of modify There is no impact for callables returning void