Support wrap for function object
solsson opened this issue · 3 comments
solsson commented
Is there a reason why wrap
only supports an object with functions as properties, or would it also be possible to take a single function as argument and wrap it?
tim-kos commented
It would only make wrap
's code a little more complex, but otherwise I see no reason. I'd be happy to accept a PR for this. :)
solsson commented
Might do that. We ended up with http://caolan.github.io/async/docs.html#retry now. Let's see what will come out on top :)
tim-kos commented
Alright, closing this then as nobody else seems to want this for now.