Closed MrMage closed 5 years ago
Should this also be added to the .transform
method that takes in an EventLoopFuture
?
I don't think so; nearly all EventLoopFutures
are created from a block that is only executed when the future succeeds, anyway.
Hey @MrMage, you just merged a pull request, have a coin!
You now have 11 coins.
This avoids creating the argument if it won't be needed at all, e.g. because a previous future fails.