DescriptionAdd cancellation feature to the AsyncUtil.Queue for Files.app.
When adding closures to a queue, we need to be able to cancel it. In such case, all pending and later added closures will not be executed. This is a common pattern, which happens eg. in gallery.
TEST=Not used in production, yet.
BUG=240153
Patch Set 1 #
|